mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 17:39:23 +02:00
codetools: fixed mem stats not cunting global list
git-svn-id: trunk@19926 -
This commit is contained in:
parent
0b3eacd9e6
commit
f18cf639a5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user