diff --git a/components/codetools/customcodetool.pas b/components/codetools/customcodetool.pas index 2bdc5f711b..deeb859602 100644 --- a/components/codetools/customcodetool.pas +++ b/components/codetools/customcodetool.pas @@ -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);