summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/passes/Print.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 3062ed0ee..64cea8bb2 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -900,7 +900,7 @@ struct PrintSExpression : public Visitor<PrintSExpression> {
}
o << " (; " << functionIndexes[curr->name] << " ;)";
}
- if (curr->stackIR && !minify) {
+ if (!printStackIR && curr->stackIR && !minify) {
o << " (; has Stack IR ;)";
}
if (curr->type.is()) {