Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index acd12d2ca8c4edd3e1c34b3df6184795cb845bdd..91eff7885d51a693a3696f1abe21f5fd2470cb8d 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -3152,7 +3152,8 @@ SourcePositionTable* WasmCompilationUnit::BuildGraphForWasmFunction( |
int index = static_cast<int>(function_->func_index); |
if (index >= FLAG_trace_wasm_ast_start && index < FLAG_trace_wasm_ast_end) { |
- PrintAst(isolate_->allocator(), body); |
+ OFStream os(stdout); |
+ PrintAst(isolate_->allocator(), body, os, nullptr); |
} |
if (FLAG_trace_wasm_decode_time) { |
*decode_ms = decode_timer.Elapsed().InMillisecondsF(); |