mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
ZAM fixes for "for" loops that are only used to choose an element from a table/set
This commit is contained in:
parent
d1dffd3e1b
commit
6660738b7d
3 changed files with 30 additions and 9 deletions
|
@ -88,6 +88,10 @@ public:
|
|||
// Returns nil if this instruction doesn't have an associated constant.
|
||||
ValPtr ConstVal() const;
|
||||
|
||||
// Returns true if this instruction represents a form of advancing
|
||||
// a loop iteration, false otherwise.
|
||||
bool IsLoopIterationAdvancement() const;
|
||||
|
||||
// Returns a string describing the constant.
|
||||
std::string ConstDump() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue