summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 5eea38bdc..7486e07f1 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -64,6 +64,7 @@ struct PrintSExpression : public Visitor<PrintSExpression> {
}
void printFullLine(Expression *expression) {
!minify && doIndent(o, indent);
+ //o << "[" << printWasmType(expression->type) << "] "; // debugging tool
visit(expression);
o << maybeNewLine;
}
@@ -721,6 +722,7 @@ Pass *createFullPrinterPass() {
std::ostream& WasmPrinter::printExpression(Expression* expression, std::ostream& o, bool minify) {
PrintSExpression print(o);
print.setMinify(minify);
+ //o << "[" << printWasmType(expression->type) << "] "; // debugging tool
print.visit(expression);
return o;
}