summaryrefslogtreecommitdiff
path: root/src/dataflow/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dataflow/utils.h')
-rw-r--r--src/dataflow/utils.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dataflow/utils.h b/src/dataflow/utils.h
index 436ccc4d8..02625212e 100644
--- a/src/dataflow/utils.h
+++ b/src/dataflow/utils.h
@@ -26,7 +26,6 @@
#define wasm_dataflow_utils_h
#include "dataflow/node.h"
-#include "wasm-printing.h"
#include "wasm.h"
namespace wasm {
@@ -47,7 +46,7 @@ inline std::ostream& dump(Node* node, std::ostream& o, size_t indent = 0) {
break;
case Node::Type::Expr: {
o << "expr ";
- WasmPrinter::printExpression(node->expr, o, true);
+ o << *node->expr << '\n';
break;
}
case Node::Type::Phi: