mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
support for discarding ASTs once compiled via ZAM script optimization
This commit is contained in:
parent
79c53c9ed6
commit
91d70e6dd4
13 changed files with 55 additions and 17 deletions
|
@ -196,6 +196,10 @@ extern bool should_analyze(const ScriptFuncPtr& f, const StmtPtr& body);
|
|||
// suppressed by the flag) and optimization.
|
||||
extern void analyze_scripts(bool no_unused_warnings);
|
||||
|
||||
// Called when all script processing is complete and we can discard
|
||||
// unused ASTs and associated state.
|
||||
extern void clear_script_analysis();
|
||||
|
||||
// Called when Zeek is terminating.
|
||||
extern void finish_script_execution();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue