script optimization fix for complex "in" expressions in conditionals

This commit is contained in:
Vern Paxson 2024-08-08 08:42:11 -07:00 committed by Arne Welzel
parent 42bf164dc4
commit a947d96160

View file

@ -115,6 +115,9 @@ bool Expr::IsReducedConditional(Reducer* c) const {
return NonReduced(this);
if ( op1->Tag() == EXPR_LIST ) {
if ( ! op1->IsReduced(c) )
return NonReduced(this);
auto l1 = op1->AsListExpr();
auto& l1_e = l1->Exprs();