mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
feature completeness for ZAM
This commit is contained in:
parent
65a7e3de5f
commit
ecc93606c4
5 changed files with 66 additions and 29 deletions
|
@ -168,6 +168,16 @@ extern std::unordered_set<const Func*> non_recursive_funcs;
|
|||
// Analyze a given function for optimization.
|
||||
extern void analyze_func(ScriptFuncPtr f);
|
||||
|
||||
// Same, for lambdas.
|
||||
extern void analyze_lambda(LambdaExpr* f);
|
||||
|
||||
// Same, for lambdas used in "when" statements. For these, analyze_lambda()
|
||||
// has already been called.
|
||||
extern void analyze_when_lambda(LambdaExpr* f);
|
||||
|
||||
// Whether a given script function is a "when" lambda.
|
||||
extern bool is_when_lambda(const ScriptFunc* f);
|
||||
|
||||
// Analyze the given top-level statement(s) for optimization. Returns
|
||||
// a pointer to a FuncInfo for an argument-less quasi-function that can
|
||||
// be Invoked, or its body executed directly, to execute the statements.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue