mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
fixes for script optimization of coerce-to-any expressions
This commit is contained in:
parent
cfb068a922
commit
e93db75f78
3 changed files with 22 additions and 1 deletions
|
@ -1642,6 +1642,9 @@ class CoerceToAnyExpr : public UnaryExpr {
|
|||
public:
|
||||
CoerceToAnyExpr(ExprPtr op);
|
||||
|
||||
bool IsReduced(Reducer* c) const override;
|
||||
ExprPtr Reduce(Reducer* c, StmtPtr& red_stmt) override;
|
||||
|
||||
protected:
|
||||
ValPtr Fold(Val* v) const override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue