Browse Source

Use tcgint typecast instead of aint, as it is the type of the second parameter of loadconst taicpu method

git-svn-id: trunk@42281 -
pierre 6 years ago
parent
commit
af03c0208b
1 changed files with 6 additions and 6 deletions
  1. 6 6
      compiler/x86/aoptx86.pas

+ 6 - 6
compiler/x86/aoptx86.pas

@@ -678,8 +678,8 @@ unit aoptx86;
                 case taicpu(p).opsize Of
                 case taicpu(p).opsize Of
                   S_B: taicpu(hp1).loadConst(0,l Xor $ff);
                   S_B: taicpu(hp1).loadConst(0,l Xor $ff);
                   S_W: taicpu(hp1).loadConst(0,l Xor $ffff);
                   S_W: taicpu(hp1).loadConst(0,l Xor $ffff);
-                  S_L: taicpu(hp1).loadConst(0,l Xor aint($ffffffff));
-                  S_Q: taicpu(hp1).loadConst(0,l Xor aint($ffffffffffffffff));
+                  S_L: taicpu(hp1).loadConst(0,l Xor tcgint($ffffffff));
+                  S_Q: taicpu(hp1).loadConst(0,l Xor tcgint($ffffffffffffffff));
                   else
                   else
                     Internalerror(2017050703)
                     Internalerror(2017050703)
                 end;
                 end;
@@ -696,8 +696,8 @@ unit aoptx86;
                 case taicpu(p).opsize Of
                 case taicpu(p).opsize Of
                   S_B: taicpu(p).loadConst(0,l Xor $ff);
                   S_B: taicpu(p).loadConst(0,l Xor $ff);
                   S_W: taicpu(p).loadConst(0,l Xor $ffff);
                   S_W: taicpu(p).loadConst(0,l Xor $ffff);
-                  S_L: taicpu(p).loadConst(0,l Xor aint($ffffffff));
-                  S_Q: taicpu(p).loadConst(0,l Xor aint($ffffffffffffffff));
+                  S_L: taicpu(p).loadConst(0,l Xor tcgint($ffffffff));
+                  S_Q: taicpu(p).loadConst(0,l Xor tcgint($ffffffffffffffff));
                   else
                   else
                     Internalerror(2017050702)
                     Internalerror(2017050702)
                 end;
                 end;
@@ -712,8 +712,8 @@ unit aoptx86;
                 case taicpu(p).opsize Of
                 case taicpu(p).opsize Of
                   S_B: taicpu(p).loadConst(0,l Xor $ff);
                   S_B: taicpu(p).loadConst(0,l Xor $ff);
                   S_W: taicpu(p).loadConst(0,l Xor $ffff);
                   S_W: taicpu(p).loadConst(0,l Xor $ffff);
-                  S_L: taicpu(p).loadConst(0,l Xor aint($ffffffff));
-                  S_Q: taicpu(p).loadConst(0,l Xor aint($ffffffffffffffff));
+                  S_L: taicpu(p).loadConst(0,l Xor tcgint($ffffffff));
+                  S_Q: taicpu(p).loadConst(0,l Xor tcgint($ffffffffffffffff));
                   else
                   else
                     Internalerror(2017050701)
                     Internalerror(2017050701)
                 end;
                 end;