fix for profiling "when" statements

This commit is contained in:
Vern Paxson 2022-08-01 13:36:24 -07:00
parent 1bbf345e46
commit c034dc68ed

View file

@ -2185,6 +2185,12 @@ TraversalCode WhenStmt::Traverse(TraversalCallback* cb) const
}
}
if ( wi->TimeoutExpr() )
{
tc = wi->TimeoutExpr()->Traverse(cb);
HANDLE_TC_STMT_PRE(tc);
}
tc = cb->PostStmt(this);
HANDLE_TC_STMT_POST(tc);
}