mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
bug-squashing
This commit is contained in:
parent
039e670097
commit
25b71c7d66
3 changed files with 5 additions and 11 deletions
|
@ -723,16 +723,6 @@ ExprPtr AddExpr::BuildSub(const ExprPtr& op1, const ExprPtr& op2) {
|
|||
return with_location_of(make_intrusive<SubExpr>(op1, rhs), this);
|
||||
}
|
||||
|
||||
ExprPtr AggrAddDelExpr::Reduce(Reducer* c, StmtPtr& red_stmt) {
|
||||
if ( c->Optimizing() ) {
|
||||
op = c->OptExpr(op);
|
||||
return ThisPtr();
|
||||
}
|
||||
|
||||
red_stmt = op->ReduceToSingletons(c);
|
||||
return ThisPtr();
|
||||
}
|
||||
|
||||
ExprPtr AggrAddExpr::Duplicate() { return SetSucc(new AggrAddExpr(op->Duplicate())); }
|
||||
|
||||
ExprPtr AggrDelExpr::Duplicate() { return SetSucc(new AggrDelExpr(op->Duplicate())); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue