Internals: Dump array bounds in tree file.

This commit is contained in:
Wilson Snyder
2013-01-13 14:30:56 -05:00
parent 191af2e87b
commit dfc11da2ce
2 changed files with 13 additions and 0 deletions
+8
View File
@@ -748,6 +748,14 @@ void AstNodeDType::dumpSmall(ostream& str) {
if (!widthSized()) str<<"/"<<widthMin();
str<<")";
}
void AstNodeArrayDType::dumpSmall(ostream& str) {
this->AstNodeDType::dumpSmall(str);
str<<"["<<msb()<<":"<<lsb()<<"]";
}
void AstNodeArrayDType::dump(ostream& str) {
this->AstNodeDType::dump(str);
str<<" ["<<msb()<<":"<<lsb()<<"]";
}
void AstNodeModule::dump(ostream& str) {
this->AstNode::dump(str);
str<<" L"<<level();