浏览代码

* check for registers removed which is not needed anymore

git-svn-id: trunk@38265 -
florian 7 年之前
父节点
当前提交
99f1fe54af
共有 1 个文件被更改,包括 0 次插入1 次删除
  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);