Jelajahi Sumber

* i8086 compilation fixed after r37572

git-svn-id: trunk@37573 -
florian 7 tahun lalu
induk
melakukan
674398c5a5
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      compiler/x86/aoptx86.pas

+ 1 - 1
compiler/x86/aoptx86.pas

@@ -1889,7 +1889,7 @@ unit aoptx86;
           case taicpu(hp1).opcode Of
             A_DEC:
               if (taicpu(hp1).oper[0]^.typ = top_reg) and
-                MatchOperand(taicpu(hp1).oper[1]^,taicpu(p).oper[1]^) then
+                MatchOperand(taicpu(hp1).oper[0]^,taicpu(p).oper[1]^) then
                 begin
                   taicpu(p).loadConst(0,taicpu(p).oper[0]^.val+1);
                   asml.remove(hp1);