mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
minor enhancements for ZAM inlining
This commit is contained in:
parent
88c73f4680
commit
94e71b738a
3 changed files with 10 additions and 18 deletions
|
@ -626,8 +626,8 @@ protected:
|
|||
// type (vec, list, table, record).
|
||||
bool IsScalarAggregateOp() const;
|
||||
|
||||
// Warns about depreciated scalar vector operations like `[1, 2,
|
||||
// 3] == 1` or `["a", "b", "c"] + "a"`.
|
||||
// Warns about deprecated scalar vector operations like
|
||||
// `[1, 2, 3] == 1` or `["a", "b", "c"] + "a"`.
|
||||
void CheckScalarAggOp() const;
|
||||
|
||||
ExprPtr op1;
|
||||
|
@ -1161,6 +1161,7 @@ public:
|
|||
|
||||
// Optimization-related:
|
||||
ExprPtr Duplicate() override;
|
||||
ExprPtr Inline(Inliner* inl) override;
|
||||
|
||||
bool HasReducedOps(Reducer* c) const override;
|
||||
ExprPtr Reduce(Reducer* c, StmtPtr& red_stmt) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue