浏览代码

* building on i386-linux fixed

git-svn-id: trunk@40360 -
florian 6 年之前
父节点
当前提交
477d7be651
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/x86/aoptx86.pas

+ 1 - 0
compiler/x86/aoptx86.pas

@@ -1858,6 +1858,7 @@ unit aoptx86;
 {$ifdef i386}
               { byte registers of esi, edi, ebp, esp are not available on i386 }
               and ((taicpu(hp2).opsize<>S_B) or not(getsupreg(taicpu(hp1).oper[0]^.reg) in [RS_ESI,RS_EDI,RS_EBP,RS_ESP]))
+              and ((taicpu(hp2).opsize<>S_B) or not(getsupreg(taicpu(p).oper[0]^.reg) in [RS_ESI,RS_EDI,RS_EBP,RS_ESP]))
 {$endif i386}
               then
               { change   movsX/movzX    reg/ref, reg2