Prep for multiple AstExecGraph. No functional change.

This commit is contained in:
Geza Lore
2022-04-10 12:00:17 +01:00
parent c79ea88576
commit fbd568dc47
11 changed files with 81 additions and 83 deletions
+1
View File
@@ -315,6 +315,7 @@ private:
}
virtual void visit(AstExecGraph* nodep) override {
// Treat the ExecGraph like a call to each mtask body
UASSERT_OBJ(!m_mtasksGraphp, nodep, "Cannot handle more than one AstExecGraph");
m_mtasksGraphp = nodep->depGraphp();
for (V3GraphVertex* mtaskVxp = m_mtasksGraphp->verticesBeginp(); mtaskVxp;
mtaskVxp = mtaskVxp->verticesNextp()) {