diff options
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 69dc447a8..c3ca4021e 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -140,6 +140,9 @@ struct PrintSExpression : public Visitor<PrintSExpression> { } void visitIf(If *curr) { printOpening(o, "if"); + if (isConcreteWasmType(curr->type)) { + o << ' ' << printWasmType(curr->type); + } incIndent(); printFullLine(curr->condition); // ifTrue and False have implict blocks, avoid printing them if possible |