summaryrefslogtreecommitdiff
path: root/src/wasm/wasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm/wasm.cpp')
-rw-r--r--src/wasm/wasm.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp
index d9ca03185..90120233d 100644
--- a/src/wasm/wasm.cpp
+++ b/src/wasm/wasm.cpp
@@ -16,7 +16,6 @@
#include "wasm.h"
#include "ir/branch-utils.h"
-#include "wasm-printing.h"
#include "wasm-traversal.h"
namespace wasm {
@@ -99,12 +98,7 @@ Name ATTR("attr");
// Expressions
-void Expression::dump() {
- WasmPrinter::printExpression(this,
- std::cerr,
- /*minify=*/false,
- /*full=*/true);
-}
+void Expression::dump() { std::cout << *this << '\n'; }
const char* getExpressionName(Expression* curr) {
switch (curr->_id) {