mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 19:29:09 +02:00
* added missing setbase fixup in tx86innode.pass_generate_code for the case of LOC_CONSTANT in LOC_REFERENCE for large sets
git-svn-id: trunk@24619 -
This commit is contained in:
parent
533bd30094
commit
de345ac191
@ -659,7 +659,7 @@ implementation
|
|||||||
LOC_REFERENCE,LOC_CREFERENCE:
|
LOC_REFERENCE,LOC_CREFERENCE:
|
||||||
begin
|
begin
|
||||||
inc(right.location.reference.offset,(left.location.value-setbase) shr 3);
|
inc(right.location.reference.offset,(left.location.value-setbase) shr 3);
|
||||||
emit_const_ref(A_TEST,S_B,1 shl (left.location.value and 7),right.location.reference);
|
emit_const_ref(A_TEST,S_B,1 shl ((left.location.value-setbase) and 7),right.location.reference);
|
||||||
end;
|
end;
|
||||||
LOC_REGISTER,LOC_CREGISTER:
|
LOC_REGISTER,LOC_CREGISTER:
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user