Internal: Fix dumping of AstMethodCall (#4021)

This commit is contained in:
Ryszard Rozak 2023-03-14 11:54:45 +01:00 committed by GitHub
parent ed1a9309d4
commit 4e5bd361e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 10 deletions

View File

@ -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

View File

@ -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";