wip
This commit is contained in:
parent
6b393e9d7c
commit
65667356b6
|
|
@ -880,6 +880,14 @@ private:
|
|||
checkNodeInfo(nodep);
|
||||
iterateChildrenConst(nodep);
|
||||
}
|
||||
void visit(AstExprStmt* nodep) override {
|
||||
if (jumpingOver(nodep)) return;
|
||||
checkNodeInfo(nodep);
|
||||
iterateAndNextConstNull(nodep->stmtsp());
|
||||
if (!optimizable()) return;
|
||||
iterateAndNextConstNull(nodep->resultp());
|
||||
newValue(nodep, fetchValue(nodep->resultp()));
|
||||
}
|
||||
|
||||
void visit(AstJumpBlock* nodep) override {
|
||||
if (jumpingOver(nodep)) return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue