mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
Merge remote-tracking branch 'origin/topic/vern/ZAM-inlining'
* origin/topic/vern/ZAM-inlining: speed up ZAM compilation by capping function size when inlining
This commit is contained in:
commit
73273fc87b
15 changed files with 85 additions and 15 deletions
|
@ -110,10 +110,13 @@ const char* expr_name(BroExprTag t)
|
|||
return expr_names[int(t)];
|
||||
}
|
||||
|
||||
int Expr::num_exprs = 0;
|
||||
|
||||
Expr::Expr(BroExprTag arg_tag) : tag(arg_tag), paren(false), type(nullptr)
|
||||
{
|
||||
SetLocationInfo(&start_location, &end_location);
|
||||
opt_info = new ExprOptInfo();
|
||||
++num_exprs;
|
||||
}
|
||||
|
||||
Expr::~Expr()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue