mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Cleanup some missing VL_RESTORER in V3Gate. No functional change intended.
This commit is contained in:
+5
-7
@@ -133,12 +133,10 @@ private:
|
||||
UINFO(4, " CFUNC " << nodep << endl);
|
||||
VL_RESTORER(m_cfuncp);
|
||||
VL_RESTORER(m_nodeDepth);
|
||||
{
|
||||
m_cfuncp = nodep;
|
||||
m_nodeDepth = 0;
|
||||
const VNUser2InUse user2InUse;
|
||||
iterateChildrenConst(nodep);
|
||||
}
|
||||
m_cfuncp = nodep;
|
||||
m_nodeDepth = 0;
|
||||
const VNUser2InUse user2InUse;
|
||||
iterateChildrenConst(nodep);
|
||||
}
|
||||
|
||||
void visit(AstCCall* nodep) override {
|
||||
@@ -204,9 +202,9 @@ private:
|
||||
}
|
||||
|
||||
void visit(AstNode* nodep) override {
|
||||
VL_RESTORER(m_nodeDepth);
|
||||
++m_nodeDepth;
|
||||
iterateChildrenConst(nodep);
|
||||
--m_nodeDepth;
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user