Explorar o código

* 16/8-bit alu fix in thlcg2ll.location_force_reg for the 32->64 conversion of LOC_CONSTANT sources

git-svn-id: trunk@27654 -
nickysn %!s(int64=11) %!d(string=hai) anos
pai
achega
3e308e0ad7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/hlcg2ll.pas

+ 1 - 1
compiler/hlcg2ll.pas

@@ -1071,7 +1071,7 @@ implementation
                if l.loc=LOC_CONSTANT then
                 begin
                   if (longint(l.value)<0) then
-                   cg.a_load_const_reg(list,OS_32,aint($ffffffff),hregisterhi)
+                   cg.a_load_const_reg(list,OS_32,longint($ffffffff),hregisterhi)
                   else
                    cg.a_load_const_reg(list,OS_32,0,hregisterhi);
                 end