mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 16:09:31 +02:00
* use the correct node in CalcLife
git-svn-id: trunk@25976 -
This commit is contained in:
parent
2fc4a7fdd7
commit
722c59bcb1
@ -227,8 +227,8 @@ unit optdfa;
|
||||
begin
|
||||
{ last node, not exit or raise node and function? }
|
||||
if assigned(resultnode) and
|
||||
not(node.nodetype=exitn) and
|
||||
not((node.nodetype=calln) and (cnf_call_never_returns in tcallnode(node).callnodeflags)) then
|
||||
not(n.nodetype=exitn) and
|
||||
not((n.nodetype=calln) and (cnf_call_never_returns in tcallnode(n).callnodeflags)) then
|
||||
begin
|
||||
{ if yes, result lifes }
|
||||
DFASetDiff(l,resultnode.optinfo^.life,n.optinfo^.def);
|
||||
|
Loading…
Reference in New Issue
Block a user