mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
enhancements/changes to the Reduce class in preparation for use-defs
This commit is contained in:
parent
a067f4c5b0
commit
2114c4a26b
2 changed files with 55 additions and 18 deletions
|
@ -27,7 +27,7 @@ StmtPtr Stmt::Reduce(Reducer* c)
|
|||
if ( repl )
|
||||
return repl;
|
||||
|
||||
if ( c->ShouldOmitStmt(this_ptr) )
|
||||
if ( c->ShouldOmitStmt(this) )
|
||||
{
|
||||
auto null = make_intrusive<NullStmt>();
|
||||
null->SetOriginal(this_ptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue