codetools: fixed mem stats not cunting global list

git-svn-id: trunk@19926 -
This commit is contained in:
mattias 2009-05-11 14:03:40 +00:00
parent 0b3eacd9e6
commit f18cf639a5

View File

@ -2127,9 +2127,7 @@ begin
if KeyWordFuncList<>nil then
Stats.Add('TCustomCodeTool.KeyWordFuncList',
KeyWordFuncList.CalcMemSize);
if WordIsKeyWordFuncList<>nil then
Stats.Add('TCustomCodeTool.WordIsKeyWordFuncList',
WordIsKeyWordFuncList.CalcMemSize);
// Note: WordIsKeyWordFuncList is using the global list
if Tree<>nil then
Stats.Add('TCustomCodeTool.Tree',
Tree.NodeCount*TCodeTreeNode.InstanceSize);