mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
initial analysis working
This commit is contained in:
parent
db018253fe
commit
1fdd1f72c0
4 changed files with 275 additions and 46 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue