From e20bd90c841a1cf227275055d4f213a74c7036a9 Mon Sep 17 00:00:00 2001 From: Daniel Wirtz Date: Sun, 4 Nov 2018 16:06:54 +0100 Subject: Suppress the 'has StackIR' comment when printing StackIR (#1726) Follow-up to #1717 --- src/passes/Print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/passes/Print.cpp') 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 { } o << " (; " << functionIndexes[curr->name] << " ;)"; } - if (curr->stackIR && !minify) { + if (!printStackIR && curr->stackIR && !minify) { o << " (; has Stack IR ;)"; } if (curr->type.is()) { -- cgit v1.2.3