| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index 09290af06aa7023f3da35cb95f735427f4b24834..1c6ac4e808f3c5f299c2abb992431b3728ccf655 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -3164,7 +3164,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();
|
|
|