fixes for script optimization of coerce-to-any expressions

This commit is contained in:
Vern Paxson 2024-08-05 09:21:13 +01:00 committed by Arne Welzel
parent cfb068a922
commit e93db75f78
3 changed files with 22 additions and 1 deletions

View file

@ -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;