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

git-svn-id: trunk@27654 -
This commit is contained in:
nickysn 2014-04-25 13:20:18 +00:00
parent 88df284423
commit 3e308e0ad7

View File

@ -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