mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
script optimization fixes for pattern tables
This commit is contained in:
parent
709d410fcd
commit
f573036099
4 changed files with 58 additions and 25 deletions
|
@ -332,6 +332,8 @@ ExprPtr Inliner::CheckForInlining(CallExprPtr c) {
|
|||
auto scope = func_vf->GetScope();
|
||||
auto ie = DoInline(func_vf, body, c->ArgsPtr(), scope, ia->second);
|
||||
|
||||
printf("inlined %s\n", obj_desc(c.get()).c_str());
|
||||
|
||||
if ( ie ) {
|
||||
ie->SetOriginal(c);
|
||||
did_inline.insert(func_vf.get());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue