Move Postponed logic after the eval loop (#3673)

Signed-off-by: Krzysztof Bieganski <[email protected]>
This commit is contained in:
Krzysztof Bieganski
2022-10-13 21:04:43 +02:00
committed by GitHub
parent 68927d4fd3
commit caed086516
11 changed files with 106 additions and 35 deletions
+1 -1
View File
@@ -426,7 +426,7 @@ private:
newMonitorNumVarRefp(nodep, VAccess::READ)}},
stmtsp};
ifp->branchPred(VBranchPred::BP_UNLIKELY);
AstNode* const newp = new AstAlwaysPostponed{fl, ifp};
AstNode* const newp = new AstAlways{fl, VAlwaysKwd::ALWAYS, nullptr, ifp};
m_modp->addStmtsp(newp);
} else if (nodep->displayType() == VDisplayType::DT_STROBE) {
nodep->displayType(VDisplayType::DT_DISPLAY);