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
@@ -215,9 +215,9 @@ class DescopeVisitor final : public VNVisitor {
makePublicFuncWrappers();
}
void visit(AstScope* nodep) override {
VL_RESTORER(m_scopep);
m_scopep = nodep;
iterateChildren(nodep);
m_scopep = nullptr;
}
void visit(AstVarScope* nodep) override {
// Delete the varscope when we're finished