瀏覽代碼

* Reverted the accidentally committed debug code in 4a7a113a.

Yuriy Sydorov 3 年之前
父節點
當前提交
a83f5749de
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      compiler/x86/aoptx86.pas

+ 0 - 1
compiler/x86/aoptx86.pas

@@ -3229,7 +3229,6 @@ unit aoptx86;
                                   RegLoadedWithNewValue(CurrentReg, hp2) or
                                   RegLoadedWithNewValue(CurrentReg, hp2) or
                                   not RegUsedAfterInstruction(CurrentReg, hp2, TmpUsedRegs) then
                                   not RegUsedAfterInstruction(CurrentReg, hp2, TmpUsedRegs) then
                                   begin
                                   begin
-                                    RegUsedAfterInstruction(CurrentReg, hp2, TmpUsedRegs);
                                     { We can remove the original MOV }
                                     { We can remove the original MOV }
                                     DebugMsg(SPeepholeOptimization + 'Mov2Nop 3b done',p);
                                     DebugMsg(SPeepholeOptimization + 'Mov2Nop 3b done',p);
                                     RemoveCurrentp(p, hp1);
                                     RemoveCurrentp(p, hp1);