* fix from Florian, mantis #30334, relevant part of r33542

git-svn-id: branches/fixes_3_0@35220 -
This commit is contained in:
marco 2016-12-31 15:17:21 +00:00
parent 013fff11a6
commit 926112bba1

View File

@ -74,8 +74,12 @@ begin
UpdateUsedRegs(UsedRegs, tai(p.Next));
RegUsedAfterInstruction :=
(supreg in UsedRegs) and
(not(getNextInstruction(p,p)) or
not(regLoadedWithNewValue(supreg,false,p)));
not(regLoadedWithNewValue(supreg,false,p)) and
(
not(GetNextInstruction(p,p)) or
RegReadByInstruction(supreg,p) or
not(regLoadedWithNewValue(supreg,false,p))
);
end;