- Do not print imported functions in the profile list.

SVN r4059 (trunk)
This commit is contained in:
Randy Heit 2013-02-03 03:54:31 +00:00
parent b2f09b2dc6
commit b971714e7f

View file

@ -7761,9 +7761,13 @@ void ArrangeFunctionProfiles(TArray<ProfileCollector> &profiles)
prof.Module = module;
for (int i = 0; i < module->NumFunctions; ++i)
{
prof.Index = i;
prof.ProfileData = module->FunctionProfileData + i;
profiles.Push(prof);
ScriptFunction *func = (ScriptFunction *)module->Functions + i;
if (func->ImportNum == 0)
{
prof.Index = i;
prof.ProfileData = module->FunctionProfileData + i;
profiles.Push(prof);
}
}
}
}