* 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:
nickysn 2013-05-26 10:53:42 +00:00
parent 533bd30094
commit de345ac191

View File

@ -659,7 +659,7 @@ implementation
LOC_REFERENCE,LOC_CREFERENCE:
begin
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;
LOC_REGISTER,LOC_CREGISTER:
begin