mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 13:09:16 +02:00
* fixed bug in r2738
git-svn-id: trunk@2743 -
This commit is contained in:
parent
b910a5da10
commit
e668ef560a
@ -683,6 +683,9 @@ implementation
|
||||
end;
|
||||
secondpass(right);
|
||||
|
||||
{ if mulsize = 1, we won't have to modify the index }
|
||||
location_force_reg(exprasmlist,right.location,OS_ADDR,(mulsize = 1));
|
||||
|
||||
if isjump then
|
||||
begin
|
||||
truelabel:=otl;
|
||||
@ -691,9 +694,6 @@ implementation
|
||||
else if (right.location.loc = LOC_JUMP) then
|
||||
internalerror(2006010801);
|
||||
|
||||
{ if mulsize = 1, we won't have to modify the index }
|
||||
location_force_reg(exprasmlist,right.location,OS_ADDR,(mulsize = 1));
|
||||
|
||||
{ only range check now, we can't range check loc_flags/loc_jump }
|
||||
if cs_check_range in aktlocalswitches then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user