mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
ZAM bug fix for incorrect management of global variables
This commit is contained in:
parent
5722596970
commit
40054e5f77
3 changed files with 29 additions and 32 deletions
|
@ -333,7 +333,10 @@ private:
|
|||
// Returns how many values were added.
|
||||
int InternalAddVal(ZInstAux* zi, int i, Expr* e);
|
||||
|
||||
const ZAMStmt AddInst(const ZInstI& inst);
|
||||
// Adds the given instruction to the ZAM program. The second
|
||||
// argument, if true, suppresses generation of any pending
|
||||
// global/capture store for this instruction.
|
||||
const ZAMStmt AddInst(const ZInstI& inst, bool suppress_non_local = false);
|
||||
|
||||
// Returns the statement just before the given one.
|
||||
ZAMStmt PrevStmt(const ZAMStmt s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue