* 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:
Jonas Maebe 2005-10-18 09:31:54 +00:00
parent e082117d31
commit 867aaef744

View File

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