mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-26 03:09:49 +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;
|
||||
if switchLast then
|
||||
begin
|
||||
lastreg1 := hp;
|
||||
lastreg2 := hp;
|
||||
{ this is in case of a storeback, make sure the same size of register }
|
||||
{ contents as the initial move is transfered }
|
||||
doSwitchReg(taicpu(hp),reg1,reg2);
|
||||
|
Loading…
Reference in New Issue
Block a user