initial analysis working

This commit is contained in:
Vern Paxson 2025-07-27 15:56:59 -07:00
parent db018253fe
commit 1fdd1f72c0
4 changed files with 275 additions and 46 deletions

View file

@ -67,7 +67,7 @@ void CPPCompile::Compile(bool report_uncompilable) {
accessed_globals.insert(g.get());
for ( const auto& i_e : g->GetOptInfo()->GetInitExprs() ) {
auto pf = std::make_shared<ProfileFunc>(i_e.get());
auto pf = std::make_shared<ProfileFunc>(i_e.get(), true);
for ( auto& t : pf->OrderedTypes() ) {
(void)pfs->HashType(t);
rep_types.insert(TypeRep(t));