Browse Source

- removed redundant opcode:=A_LD assignments in do_spill_replace

git-svn-id: branches/z80@44769 -
nickysn 5 years ago
parent
commit
513ef512ff
1 changed files with 0 additions and 3 deletions
  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