mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Improve V3List user interface (#4996)
This commit is contained in:
+3
-4
@@ -149,7 +149,7 @@ class LifePostDlyVisitor final : public VNVisitor {
|
||||
// Map each dly var to its AstAssignPost* node and the location thereof
|
||||
std::unordered_map<const AstVarScope*, LifePostLocation> m_assignposts;
|
||||
|
||||
const V3Graph* m_mtasksGraphp = nullptr; // Mtask tracking graph
|
||||
V3Graph* m_mtasksGraphp = nullptr; // Mtask tracking graph
|
||||
std::unique_ptr<GraphPathChecker> m_checker;
|
||||
|
||||
const AstCFunc* const m_evalNbap; // The _eval__nba function
|
||||
@@ -325,9 +325,8 @@ class LifePostDlyVisitor final : public VNVisitor {
|
||||
UASSERT_OBJ(!m_mtasksGraphp, nodep, "Cannot handle more than one AstExecGraph");
|
||||
m_mtasksGraphp = nodep->depGraphp();
|
||||
}
|
||||
for (V3GraphVertex* mtaskVxp = nodep->depGraphp()->verticesBeginp(); mtaskVxp;
|
||||
mtaskVxp = mtaskVxp->verticesNextp()) {
|
||||
const ExecMTask* const mtaskp = mtaskVxp->as<ExecMTask>();
|
||||
for (V3GraphVertex& mtaskVtx : nodep->depGraphp()->vertices()) {
|
||||
const ExecMTask* const mtaskp = mtaskVtx.as<ExecMTask>();
|
||||
m_execMTaskp = mtaskp;
|
||||
m_sequence = 0;
|
||||
iterate(mtaskp->bodyp());
|
||||
|
||||
Reference in New Issue
Block a user