mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 23:19:24 +02:00
* fixed bug fixref whereby a register of a reference was overwritten
git-svn-id: trunk@2212 -
This commit is contained in:
parent
e43a1223ff
commit
5e9db609e3
@ -2062,7 +2062,10 @@ const
|
||||
else if (ref.index = NR_NO) then
|
||||
ref.index := tmpreg
|
||||
else
|
||||
list.concat(taicpu.op_reg_reg_reg(A_ADD,ref.base,ref.base,tmpreg));
|
||||
begin
|
||||
list.concat(taicpu.op_reg_reg_reg(A_ADD,tmpreg,ref.base,tmpreg));
|
||||
ref.base := tmpreg;
|
||||
end;
|
||||
ref.symbol := nil;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user