diff --git a/src/V3Active.cpp b/src/V3Active.cpp index 4930b9293..31e20a0ff 100644 --- a/src/V3Active.cpp +++ b/src/V3Active.cpp @@ -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 diff --git a/src/V3LifePost.cpp b/src/V3LifePost.cpp index 6692a3ebf..0bd2c9d9f 100644 --- a/src/V3LifePost.cpp +++ b/src/V3LifePost.cpp @@ -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); diff --git a/src/V3LinkCells.cpp b/src/V3LinkCells.cpp index 60647c7d2..958e5ad1a 100644 --- a/src/V3LinkCells.cpp +++ b/src/V3LinkCells.cpp @@ -160,7 +160,6 @@ private: // VISITs void visit(AstNetlist* nodep) override { - AstNode::user1ClearTree(); readModNames(); iterateChildren(nodep); // Find levels in graph diff --git a/src/V3Task.cpp b/src/V3Task.cpp index f0b3d5fba..3508ffdd0 100644 --- a/src/V3Task.cpp +++ b/src/V3Task.cpp @@ -273,8 +273,6 @@ public: // CONSTRUCTORS explicit TaskStateVisitor(AstNetlist* nodep) { m_curVxp = new TaskCodeVertex{&m_callGraph}; - AstNode::user3ClearTree(); - AstNode::user4ClearTree(); // iterate(nodep); //