From 1e9e3349295aff266c5a7c27744e551dc81b3a36 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 16 Sep 2017 11:06:35 -0400 Subject: [PATCH] Internals: Name cleanup. No functional change. --- src/V3ClkGater.cpp | 2 +- src/V3Inst.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/V3ClkGater.cpp b/src/V3ClkGater.cpp index e119df88d..b6a129bd0 100644 --- a/src/V3ClkGater.cpp +++ b/src/V3ClkGater.cpp @@ -879,7 +879,7 @@ class GaterVisitor : public GaterBaseVisitor { public: // CONSTUCTORS - explicit GaterVisitor(AstNode* nodep) { + explicit GaterVisitor(AstNetlist* nodep) { // AstAlways visitor does the real work, so most zeroing needs to be in clear() clear(); nodep->accept(*this); diff --git a/src/V3Inst.cpp b/src/V3Inst.cpp index 70c011f63..cb8a0debb 100644 --- a/src/V3Inst.cpp +++ b/src/V3Inst.cpp @@ -203,7 +203,7 @@ public: public: // CONSTUCTORS explicit InstDeModVarVisitor() {} - void accept(AstNodeModule* nodep) { + void main(AstNodeModule* nodep) { UINFO(8," dmMODULE "<accept(*this); @@ -266,7 +266,7 @@ private: UINFO(4," CELL "<modp()) nodep->v3fatalSrc("Unlinked"); - m_deModVars.accept(nodep->modp()); + m_deModVars.main(nodep->modp()); // if (nodep->rangep()) { m_cellRangep = nodep->rangep();