Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index 1380f9e3c8b428835debfc188dd612654f033f52..ee09fdfc6903a58481efd0a931943b3d0b9dd327 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -33,7 +33,7 @@ |
#include "src/factory.h" |
#include "src/log-inl.h" |
-#include "src/wasm/ast-decoder.h" |
+#include "src/wasm/function-body-decoder.h" |
#include "src/wasm/wasm-limits.h" |
#include "src/wasm/wasm-module.h" |
#include "src/wasm/wasm-opcodes.h" |
@@ -3538,7 +3538,7 @@ SourcePositionTable* WasmCompilationUnit::BuildGraphForWasmFunction( |
if (index >= FLAG_trace_wasm_ast_start && index < FLAG_trace_wasm_ast_end) { |
OFStream os(stdout); |
- PrintAst(isolate_->allocator(), body, os, nullptr); |
+ PrintWasmCode(isolate_->allocator(), body, os, nullptr); |
} |
if (index >= FLAG_trace_wasm_text_start && index < FLAG_trace_wasm_text_end) { |
OFStream os(stdout); |