mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
enable setting "-O optimize-AST" option
This commit is contained in:
parent
56ab0ddcf1
commit
d38cc04e83
3 changed files with 15 additions and 0 deletions
|
@ -22,6 +22,9 @@ struct AnalyOpt {
|
|||
// Whether to analyze scripts.
|
||||
bool activate = false;
|
||||
|
||||
// Whether to optimize the AST.
|
||||
bool optimize_AST = false;
|
||||
|
||||
// If true, dump out transformed code: the results of reducing
|
||||
// interpreted scripts, and, if optimize is set, of then optimizing
|
||||
// them. Always done if only_func is set.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue