Browse Source

* use the correct node in CalcLife

git-svn-id: trunk@25976 -
florian 11 years ago
parent
commit
722c59bcb1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/optdfa.pas

+ 2 - 2
compiler/optdfa.pas

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