This commit is contained in:
Geza Lore 2026-02-14 17:59:48 +00:00
parent b0eff77c86
commit 814afa58c8
1 changed files with 1 additions and 1 deletions

View File

@ -908,7 +908,7 @@ class TimingControlVisitor final : public VNVisitor {
// Calls to suspendables are always void return type, hence parent must be StmtExpr
AstStmtExpr* const stmtp = VN_AS(nodep->backp(), StmtExpr);
stmtp->replaceWith(new AstCAwait{nodep->fileline(), nodep->unlinkFrBack()});
VL_DO_DANGLING(stmtp->deleteTree(), stmtp);
VL_DO_DANGLING(pushDeletep(stmtp), stmtp);
}
iterateChildren(nodep);
}