* use InstructionLoadsFromReg instead of RegInInstruction when moving register deallocations

git-svn-id: trunk@33541 -
This commit is contained in:
florian 2016-04-21 19:51:05 +00:00
parent 046b148f5f
commit 4ac3953c34

View File

@ -189,7 +189,7 @@ Unit aopt;
hp2 := nil;
While Not(assigned(FindRegAlloc(tai_regalloc(p).Reg, tai(hp1.Next)))) And
GetNextInstruction(hp1, hp1) And
RegInInstruction(tai_regalloc(p).Reg, hp1) Do
InstructionLoadsFromReg(tai_regalloc(p).Reg, hp1) Do
hp2 := hp1;
{ move deallocations }
If hp2 <> nil Then