mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
ZAM changes intermixed with lambda and "when" support
This commit is contained in:
parent
1dd2270272
commit
558cec58ed
2 changed files with 12 additions and 4 deletions
|
@ -1053,10 +1053,13 @@ const ZAMStmt ZAMCompiler::DoCall(const CallExpr* c, const NameExpr* n)
|
|||
if ( ! z.aux )
|
||||
z.aux = new ZInstAux(0);
|
||||
|
||||
z.aux->can_change_globals = true;
|
||||
z.aux->can_change_non_locals = true;
|
||||
|
||||
z.call_expr = c;
|
||||
|
||||
if ( in_when )
|
||||
z.SetType(n->GetType());
|
||||
|
||||
if ( ! indirect || func_id->IsGlobal() )
|
||||
{
|
||||
z.aux->id_val = func_id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue