summaryrefslogtreecommitdiff
path: root/src/passes
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes')
-rw-r--r--src/passes/Print.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 5c2acf3f0..0577c7c02 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -2771,6 +2771,10 @@ struct PrintSExpression : public OverriddenVisitor<PrintSExpression> {
doIndent(o, indent);
o << '(';
printMajor(o, "data ");
+ if (segment.name.is()) {
+ printName(segment.name, o);
+ o << ' ';
+ }
if (segment.isPassive) {
printMedium(o, "passive");
} else {