Internals: Cleanup unused nodep in visitors. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-04-04 08:31:14 -04:00
parent 38a31ae168
commit 19b472cf0b
59 changed files with 206 additions and 361 deletions
+2 -5
View File
@@ -446,11 +446,8 @@ private:
// Accelerate the recursion
// Must do statements to support Generates, math though...
virtual void visit(AstNodeMath* nodep) VL_OVERRIDE {}
virtual void visit(AstNode* nodep) VL_OVERRIDE {
// Default: Just iterate
iterateChildren(nodep);
}
virtual void visit(AstNodeMath*) VL_OVERRIDE {}
virtual void visit(AstNode* nodep) VL_OVERRIDE { iterateChildren(nodep); }
// METHODS
void readModNames() {