浏览代码

* commented out PostPeepholeOptMov, because it breaks the pascal port of cwsdpmi

git-svn-id: trunk@37563 -
nickysn 7 年之前
父节点
当前提交
034b753e10
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      compiler/i8086/aoptcpu.pas

+ 3 - 2
compiler/i8086/aoptcpu.pas

@@ -122,8 +122,9 @@ unit aoptcpu;
           ait_instruction:
           ait_instruction:
             begin
             begin
               case taicpu(p).opcode of
               case taicpu(p).opcode of
-                A_MOV:
-                  Result:=PostPeepholeOptMov(p);
+                {A_MOV commented out, because it still breaks some i8086 code :( }
+                {A_MOV:
+                  Result:=PostPeepholeOptMov(p);}
                 A_CMP:
                 A_CMP:
                   Result:=PostPeepholeOptCmp(p);
                   Result:=PostPeepholeOptCmp(p);
                 A_OR,
                 A_OR,