mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 05:40:44 +00:00
- Do not print imported functions in the profile list.
SVN r4059 (trunk)
This commit is contained in:
parent
b2f09b2dc6
commit
b971714e7f
1 changed files with 7 additions and 3 deletions
|
@ -7761,9 +7761,13 @@ void ArrangeFunctionProfiles(TArray<ProfileCollector> &profiles)
|
||||||
prof.Module = module;
|
prof.Module = module;
|
||||||
for (int i = 0; i < module->NumFunctions; ++i)
|
for (int i = 0; i < module->NumFunctions; ++i)
|
||||||
{
|
{
|
||||||
prof.Index = i;
|
ScriptFunction *func = (ScriptFunction *)module->Functions + i;
|
||||||
prof.ProfileData = module->FunctionProfileData + i;
|
if (func->ImportNum == 0)
|
||||||
profiles.Push(prof);
|
{
|
||||||
|
prof.Index = i;
|
||||||
|
prof.ProfileData = module->FunctionProfileData + i;
|
||||||
|
profiles.Push(prof);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue