Remove redundant user*ClearTree calls
This commit is contained in:
parent
2a57ead7e3
commit
8a77af7a6d
|
|
@ -125,8 +125,6 @@ public:
|
|||
// METHODS
|
||||
void begin() {
|
||||
// Start a new if/else tracking graph
|
||||
// See NODE STATE comment in ActiveLatchCheckVisitor
|
||||
AstNode::user1ClearTree();
|
||||
m_curVertexp = new LatchDetectGraphVertex{this, "ROOT"};
|
||||
}
|
||||
// Clear out userp field of referenced outputs on destruction
|
||||
|
|
|
|||
|
|
@ -252,8 +252,6 @@ private:
|
|||
|
||||
// VISITORS
|
||||
void visit(AstTopScope* nodep) override {
|
||||
AstNode::user4ClearTree(); // user4p() used on entire tree
|
||||
|
||||
// First, build maps of every location (mtask and sequence
|
||||
// within the mtask) where each varscope is read, and written.
|
||||
iterateChildren(nodep);
|
||||
|
|
|
|||
|
|
@ -160,7 +160,6 @@ private:
|
|||
|
||||
// VISITs
|
||||
void visit(AstNetlist* nodep) override {
|
||||
AstNode::user1ClearTree();
|
||||
readModNames();
|
||||
iterateChildren(nodep);
|
||||
// Find levels in graph
|
||||
|
|
|
|||
|
|
@ -273,8 +273,6 @@ public:
|
|||
// CONSTRUCTORS
|
||||
explicit TaskStateVisitor(AstNetlist* nodep) {
|
||||
m_curVxp = new TaskCodeVertex{&m_callGraph};
|
||||
AstNode::user3ClearTree();
|
||||
AstNode::user4ClearTree();
|
||||
//
|
||||
iterate(nodep);
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in New Issue