mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-01 21:40:15 +02:00
* fixed bug in regalloc info in case a sequence is swapped with
a storeback at the end (i.e., "mov x,y" ... "mov y,x") git-svn-id: trunk@2197 -
This commit is contained in:
parent
a885e9da0e
commit
5692b93a52
@ -307,6 +307,8 @@ begin
|
|||||||
end;
|
end;
|
||||||
if switchLast then
|
if switchLast then
|
||||||
begin
|
begin
|
||||||
|
lastreg1 := hp;
|
||||||
|
lastreg2 := hp;
|
||||||
{ this is in case of a storeback, make sure the same size of register }
|
{ this is in case of a storeback, make sure the same size of register }
|
||||||
{ contents as the initial move is transfered }
|
{ contents as the initial move is transfered }
|
||||||
doSwitchReg(taicpu(hp),reg1,reg2);
|
doSwitchReg(taicpu(hp),reg1,reg2);
|
||||||
|
Loading…
Reference in New Issue
Block a user