diff --git a/src/V3AstNodes.cpp b/src/V3AstNodes.cpp index 4288eb34c..7afd06d21 100644 --- a/src/V3AstNodes.cpp +++ b/src/V3AstNodes.cpp @@ -1322,7 +1322,7 @@ bool AstClass::isClassExtendedFrom(const AstClass* refClassp, const AstClass* ba return isClassExtendedFrom(refClassp->extendsp()->classp(), baseClassp); } void AstClass::dump(std::ostream& str) const { - this->AstNode::dump(str); + this->AstNodeModule::dump(str); if (isExtended()) str << " [EXT]"; if (isVirtual()) str << " [VIRT]"; } @@ -1336,6 +1336,7 @@ AstClass* AstClassExtends::classp() const { } void AstClassRefDType::dump(std::ostream& str) const { this->AstNode::dump(str); + if (classOrPackagep()) str << " cpkg=" << nodeAddr(classOrPackagep()); if (classp()) { str << " -> "; classp()->dump(str); diff --git a/src/V3LinkJump.cpp b/src/V3LinkJump.cpp index 5c59fc99c..e17879f86 100644 --- a/src/V3LinkJump.cpp +++ b/src/V3LinkJump.cpp @@ -302,5 +302,5 @@ public: void V3LinkJump::linkJump(AstNetlist* nodep) { UINFO(2, __FUNCTION__ << ": " << endl); { LinkJumpVisitor{nodep}; } // Destruct before checking - V3Global::dumpCheckGlobalTree("link", 0, v3Global.opt.dumpTreeLevel(__FILE__) >= 3); + V3Global::dumpCheckGlobalTree("linkjump", 0, v3Global.opt.dumpTreeLevel(__FILE__) >= 3); }