diff --git a/src/V3AstNodeExpr.h b/src/V3AstNodeExpr.h index 4ec2b90c1..bf688422d 100644 --- a/src/V3AstNodeExpr.h +++ b/src/V3AstNodeExpr.h @@ -4052,7 +4052,6 @@ public: BROKEN_RTN(!fromp()); return nullptr; } - void dump(std::ostream& str) const override; }; class AstNew final : public AstNodeFTaskRef { // New as constructor diff --git a/src/V3AstNodes.cpp b/src/V3AstNodes.cpp index 135674029..5e59f023e 100644 --- a/src/V3AstNodes.cpp +++ b/src/V3AstNodes.cpp @@ -1672,15 +1672,6 @@ const char* AstMemberSel::broken() const { BROKEN_RTN(m_varp && !m_varp->brokeExists()); return nullptr; } -void AstMethodCall::dump(std::ostream& str) const { - this->AstNodeFTaskRef::dump(str); - str << " -> "; - if (taskp()) { - taskp()->dump(str); - } else { - str << " -> UNLINKED"; - } -} void AstModportFTaskRef::dump(std::ostream& str) const { this->AstNode::dump(str); if (isExport()) str << " EXPORT";