mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:29:27 +02:00
* fixed loading of negative constants in some record regvar fields
git-svn-id: trunk@3640 -
This commit is contained in:
parent
4c41e2c677
commit
32a9702965
@ -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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user