Browse Source

* check for registers removed which is not needed anymore

git-svn-id: trunk@38265 -
florian 7 years ago
parent
commit
99f1fe54af
1 changed files with 0 additions and 1 deletions
  1. 0 1
      compiler/x86/aoptx86.pas

+ 0 - 1
compiler/x86/aoptx86.pas

@@ -1309,7 +1309,6 @@ unit aoptx86;
         else if GetNextInstruction_p and
         else if GetNextInstruction_p and
           MatchInstruction(hp1,A_MOV,[]) and
           MatchInstruction(hp1,A_MOV,[]) and
           (taicpu(p).oper[1]^.typ = top_reg) and
           (taicpu(p).oper[1]^.typ = top_reg) and
-          (getsupreg(taicpu(p).oper[1]^.reg) in [RS_EAX, RS_EBX, RS_ECX, RS_EDX, RS_ESI, RS_EDI]) and
           MatchOperand(taicpu(p).oper[1]^,taicpu(hp1).oper[0]^) then
           MatchOperand(taicpu(p).oper[1]^,taicpu(hp1).oper[0]^) then
           begin
           begin
             CopyUsedRegs(TmpUsedRegs);
             CopyUsedRegs(TmpUsedRegs);