2
0
Эх сурвалжийг харах

* simplified code

git-svn-id: trunk@46333 -
florian 5 жил өмнө
parent
commit
f798141d30

+ 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);