mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
speed up ZAM compilation by capping function size when inlining
This commit is contained in:
parent
0c2f04548a
commit
7d00ce0082
13 changed files with 79 additions and 14 deletions
|
@ -26,6 +26,10 @@ public:
|
|||
// Whether this statement is free of the possible influence
|
||||
// of conditional code.
|
||||
bool is_free_of_conditionals = true;
|
||||
|
||||
// Number of statements and expressions in a function body.
|
||||
int num_stmts = 0;
|
||||
int num_exprs = 0;
|
||||
};
|
||||
|
||||
} // namespace zeek::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue