Internals: Cleanup some missing VL_RESTORERs. No functional change intended.

This commit is contained in:
Wilson Snyder
2025-02-27 21:18:27 -05:00
parent 7f94fa1da7
commit 098ee6fa7a
16 changed files with 34 additions and 36 deletions
+1 -1
View File
@@ -44,11 +44,11 @@ class InstVisitor final : public VNVisitor {
// VISITORS
void visit(AstCell* nodep) override {
UINFO(4, " CELL " << nodep << endl);
VL_RESTORER(m_cellp);
m_cellp = nodep;
// VV***** We reset user1p() on each cell!!!
AstNode::user1ClearTree();
iterateChildren(nodep);
m_cellp = nullptr;
}
void visit(AstPin* nodep) override {
// PIN(p,expr) -> ASSIGNW(VARXREF(p),expr) (if sub's input)