summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index c3ca4021e..572732275 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -645,6 +645,7 @@ struct PrintSExpression : public Visitor<PrintSExpression> {
}
void printMemoryHeader(Memory* curr) {
printOpening(o, "memory") << ' ';
+ printName(curr->name) << ' ';
o << curr->initial;
if (curr->max && curr->max != Memory::kMaxSize) o << ' ' << curr->max;
o << ")";