forked from github/verilator
Internals: Fix class dump
This commit is contained in:
parent
0658a7654f
commit
fd45be3def
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user