mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 14:19:31 +02:00
* fixed restoring of register contents one instruction too far when removing
a previous unused load git-svn-id: trunk@1465 -
This commit is contained in:
parent
e082117d31
commit
867aaef744
@ -1526,7 +1526,7 @@ begin
|
||||
{ the contents it had before this instruction }
|
||||
if getlastinstruction(startmod,beforestartmod) then
|
||||
RestoreRegContentsTo(supreg,ptaiprop(beforestartmod.optinfo)^.regs[supreg],
|
||||
startmod,p)
|
||||
startmod,hp1)
|
||||
else
|
||||
ClearRegContentsFrom(supreg,startmod,hp1);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user