* fixed loading of negative constants in some record regvar fields

git-svn-id: trunk@3640 -
This commit is contained in:
Jonas Maebe 2006-05-23 09:07:03 +00:00
parent 4c41e2c677
commit 32a9702965

View File

@ -953,7 +953,7 @@ implementation
else
bitmask := (1 shl startbit) - 1;
a_op_const_reg(list,OP_AND,subsetregsize,bitmask,subsetreg);
a_op_const_reg(list,OP_OR,subsetregsize,a shl startbit,subsetreg);
a_op_const_reg(list,OP_OR,subsetregsize,(a shl startbit) and not(bitmask),subsetreg);
end;