Fix bug in in_const_swap_qword handling

git-svn-id: trunk@29067 -
This commit is contained in:
pierre 2014-11-13 10:59:00 +00:00
parent c97d8079e7
commit a77735d7af

View File

@ -2075,7 +2075,7 @@ implementation
in_const_swap_long :
hp:=cordconstnode.create((vl and $ffff) shl 16+(vl shr 16),left.resultdef,true);
in_const_swap_qword :
hp:=cordconstnode.create((vl and $ffff) shl 32+(vl shr 32),left.resultdef,true);
hp:=cordconstnode.create((vl and $ffffffff) shl 32+(vl shr 32),left.resultdef,true);
in_const_ptr:
begin
{Don't construct pointers from negative values.}