mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 15:31:41 +02:00
* use InstructionLoadsFromReg instead of RegInInstruction when moving register deallocations
git-svn-id: trunk@33541 -
This commit is contained in:
parent
046b148f5f
commit
4ac3953c34
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user