diff options
author | Daniel Wirtz <dcode@dcode.io> | 2018-11-04 16:06:54 +0100 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2018-11-04 07:06:54 -0800 |
commit | e20bd90c841a1cf227275055d4f213a74c7036a9 (patch) | |
tree | 4be8b2b26e00725a14a9ea704b982b30138cb090 /src/passes/Print.cpp | |
parent | 49bb4290ce46b0e58f4817cbb46f3dada4f41409 (diff) | |
download | binaryen-e20bd90c841a1cf227275055d4f213a74c7036a9.tar.gz binaryen-e20bd90c841a1cf227275055d4f213a74c7036a9.tar.bz2 binaryen-e20bd90c841a1cf227275055d4f213a74c7036a9.zip |
Suppress the 'has StackIR' comment when printing StackIR (#1726)
Follow-up to #1717
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 2 |
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()) { |