Pārlūkot izejas kodu

* simplified code

git-svn-id: trunk@46333 -
florian 5 gadi atpakaļ
vecāks
revīzija
f798141d30
1 mainītis faili ar 2 papildinājumiem un 4 dzēšanām
  1. 2 4
      compiler/m68k/rgcpu.pas

+ 2 - 4
compiler/m68k/rgcpu.pas

@@ -169,11 +169,9 @@ unit rgcpu;
             ;
         end;
 
-        if (opidx<0) then
+        if opidx<0 then
           exit;
-        instr.oper[opidx]^.typ:=top_ref;
-        new(instr.oper[opidx]^.ref);
-        instr.oper[opidx]^.ref^:=spilltemp;
+        instr.loadref(opidx,spilltemp);
         case taicpu(instr).opsize of
           S_B: inc(instr.oper[opidx]^.ref^.offset,3);
           S_W: inc(instr.oper[opidx]^.ref^.offset,2);