From 9c1947f84e13dcf79b50e53e6abbf6ce4db6573a Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 22 Aug 2016 14:54:27 -0700 Subject: improve full mode printing --- src/passes/Print.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/passes/Print.cpp') diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index fe125234d..570423efa 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -98,6 +98,9 @@ struct PrintSExpression : public Visitor { while (1) { if (stack.size() > 0) doIndent(o, indent); stack.push_back(curr); + if (full) { + o << "[" << printWasmType(curr->type) << "] "; + } printOpening(o, "block"); if (curr->name.is()) { o << ' '; -- cgit v1.2.3