mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Ast classes create declRange().
This commit is contained in:
+2
-2
@@ -746,11 +746,11 @@ void AstNodeDType::dumpSmall(ostream& str) {
|
||||
void AstNodeArrayDType::dumpSmall(ostream& str) {
|
||||
this->AstNodeDType::dumpSmall(str);
|
||||
if (castPackArrayDType()) str<<"p"; else str<<"u";
|
||||
str<<"["<<msb()<<":"<<lsb()<<"]";
|
||||
str<<"["<<declRange().left()<<":"<<declRange().right()<<"]";
|
||||
}
|
||||
void AstNodeArrayDType::dump(ostream& str) {
|
||||
this->AstNodeDType::dump(str);
|
||||
str<<" ["<<msb()<<":"<<lsb()<<"]";
|
||||
str<<" ["<<declRange().left()<<":"<<declRange().right()<<"]";
|
||||
}
|
||||
void AstNodeModule::dump(ostream& str) {
|
||||
this->AstNode::dump(str);
|
||||
|
||||
Reference in New Issue
Block a user