* 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:
Jonas Maebe 2006-01-06 15:29:25 +00:00
parent a885e9da0e
commit 5692b93a52

View File

@ -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);