Преглед на файлове

- removed redundant opcode:=A_LD assignments in do_spill_replace

git-svn-id: branches/z80@44769 -
nickysn преди 5 години
родител
ревизия
513ef512ff
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      compiler/z80/rgcpu.pas

+ 0 - 3
compiler/z80/rgcpu.pas

@@ -172,7 +172,6 @@ unit rgcpu;
                    (get_alias(getsupreg(oper[1]^.reg))<>orgreg) then
                   begin
                     instr.loadref(0,spilltemp);
-                    opcode:=A_LD;
                     result:=true;
                   end
                 else if (getregtype(oper[1]^.reg)=regtype) and
@@ -180,7 +179,6 @@ unit rgcpu;
                    (get_alias(getsupreg(oper[0]^.reg))<>orgreg) then
                   begin
                     instr.loadref(1,spilltemp);
-                    opcode:=A_LD;
                     result:=true;
                   end;
               end
@@ -191,7 +189,6 @@ unit rgcpu;
                    (get_alias(getsupreg(oper[0]^.reg))=orgreg) then
                   begin
                     instr.loadref(0,spilltemp);
-                    opcode:=A_LD;
                     result:=true;
                   end;
               end