Internals: Dump TraceDecl codes.
This commit is contained in:
parent
f5f4e15ce2
commit
5f333be947
|
|
@ -1854,6 +1854,10 @@ void AstFork::dump(std::ostream& str) const {
|
|||
this->AstNode::dump(str);
|
||||
if (!joinType().join()) str << " [" << joinType() << "]";
|
||||
}
|
||||
void AstTraceDecl::dump(std::ostream& str) const {
|
||||
this->AstNodeStmt::dump(str);
|
||||
if (code()) str << " [code=" << code() << "]";
|
||||
}
|
||||
void AstTraceInc::dump(std::ostream& str) const {
|
||||
this->AstNodeStmt::dump(str);
|
||||
str << " -> ";
|
||||
|
|
|
|||
|
|
@ -5330,6 +5330,7 @@ public:
|
|||
dtypeFrom(valuep);
|
||||
addNOp1p(valuep);
|
||||
}
|
||||
virtual void dump(std::ostream& str) const override;
|
||||
virtual int instrCount() const override { return 100; } // Large...
|
||||
ASTNODE_NODE_FUNCS(TraceDecl)
|
||||
virtual string name() const override { return m_showname; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue