-O gen-standalone-C++ fixes for recent more aggressive AST profiling

This commit is contained in:
Vern Paxson 2024-12-12 14:26:21 -08:00
parent b547c7287d
commit 0a813a53c7
16 changed files with 188 additions and 104 deletions

View file

@ -534,6 +534,7 @@ void ProfileFunc::TrackID(const ID* id) {
if ( id->IsGlobal() ) {
globals.insert(id);
all_globals.insert(id);
TrackType(id->GetType());
}
ordered_ids.push_back(id);