Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index 28066d5be674717fadd186f683ce9334987ae989..c493ff879485e0c37f8f6ad56f3912724bb0f149 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -4000,6 +4000,9 @@ Handle<Code> WasmCompilationUnit::FinishCompilation() { |
compile_timer.Start(); |
} |
Handle<Code> code = info_.code(); |
+ if (FLAG_print_wasm_code) { |
titzer
2017/01/27 14:03:21
Despite the mess in src/codegen.cc, I think this s
ahaas
2017/02/10 10:21:48
Done.
|
+ code->Print(); |
+ } |
DCHECK(!code.is_null()); |
if (isolate_->logger()->is_logging_code_events() || |