Internal cleanups, remove extra iterate, but no functional change intended
This commit is contained in:
parent
b531001f55
commit
88dd95980a
|
|
@ -4223,9 +4223,8 @@ class WidthVisitor final : public VNVisitor {
|
|||
UASSERT_OBJ(classp, nodep, "Unlinked classOrPackagep()");
|
||||
UASSERT_OBJ(nodep->taskp(), nodep, "Unlinked taskp()");
|
||||
}
|
||||
userIterate(nodep->taskp(), nullptr);
|
||||
if (!assign) nodep->dtypeFrom(nodep->taskp());
|
||||
processFTaskRefArgs(nodep);
|
||||
if (!assign) nodep->dtypeFrom(nodep->taskp());
|
||||
}
|
||||
void visit(AstNewCopy* nodep) override {
|
||||
if (nodep->didWidthAndSet()) return;
|
||||
|
|
@ -6086,7 +6085,6 @@ class WidthVisitor final : public VNVisitor {
|
|||
nodep->v3error("Cannot call non-static member function "
|
||||
<< nodep->prettyNameQ() << " without object (IEEE 1800-2023 8.10)");
|
||||
}
|
||||
userIterate(nodep->taskp(), nullptr);
|
||||
// And do the arguments to the task/function too
|
||||
processFTaskRefArgs(nodep);
|
||||
nodep->addPinsp(withp);
|
||||
|
|
@ -6094,9 +6092,9 @@ class WidthVisitor final : public VNVisitor {
|
|||
}
|
||||
void visit(AstNodeProcedure* nodep) override {
|
||||
assertAtStatement(nodep);
|
||||
VL_RESTORER(m_procedurep);
|
||||
m_procedurep = nodep;
|
||||
userIterateChildren(nodep, nullptr);
|
||||
m_procedurep = nullptr;
|
||||
}
|
||||
void visit(AstSenItem* nodep) override {
|
||||
UASSERT_OBJ(nodep->isClocked(), nodep, "Invalid edge");
|
||||
|
|
|
|||
Loading…
Reference in New Issue