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 340266fcf..0494e7d78 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -670,6 +670,7 @@ struct PrintSExpression : public Visitor<PrintSExpression> {
printName(curr->name) << ' ';
o << curr->initial;
if (curr->max && curr->max != Memory::kMaxSize) o << ' ' << curr->max;
+ if (curr->shared) o << " shared";
o << ")";
}
void visitMemory(Memory* curr) {