From 30e186be784e320264a7b422e52d8541f58131fd Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 10 Jan 2020 21:34:30 +0000 Subject: [PATCH] * renamed sum -> defsum to avoid confusion with usesum git-svn-id: trunk@43905 - --- compiler/optutils.pas | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/optutils.pas b/compiler/optutils.pas index b5af9de0d6..01cc459fbe 100644 --- a/compiler/optutils.pas +++ b/compiler/optutils.pas @@ -343,12 +343,12 @@ unit optutils; end; var - sum : TDFASet; + defsum : TDFASet; function adddef(var n: tnode; arg: pointer): foreachnoderesult; begin if assigned(n.optinfo) then - DFASetIncludeSet(sum,n.optinfo^.def); + DFASetIncludeSet(defsum,n.optinfo^.def); Result:=fen_false; end; @@ -358,9 +358,9 @@ unit optutils; p.allocoptinfo; if not assigned(p.optinfo^.defsum) then begin - sum:=nil; + defsum:=nil; foreachnodestatic(pm_postprocess,p,@adddef,nil); - p.optinfo^.defsum:=sum; + p.optinfo^.defsum:=defsum; end; end;