Bläddra i källkod

* Fixed a typo in the condition, though it seems this code path is not used now.

Yuriy Sydorov 3 år sedan
förälder
incheckning
b8befe3d1f
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      compiler/x86/nx86add.pas

+ 1 - 1
compiler/x86/nx86add.pas

@@ -166,7 +166,7 @@ unit nx86add;
                  if (op=A_SUB) and
                     (right.location.loc=LOC_CONSTANT) and
                     (right.location.value=1) and
-                    overflowcheck and
+                    not overflowcheck and
                     UseIncDec then
                   begin
                     emit_reg(A_DEC,TCGSize2Opsize[opsize],left.location.register);