Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2397)

Unified Diff: src/compiler/wasm-compiler.cc

Issue 1789683002: [wasm] Attach loop assignment analysis behind a flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fix_length_of_const
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/wasm-compiler.cc
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
index 6bcdd6cd36d5fbe770721b15db56d6c313a8512b..33307bc86681ff5ca4b73176ab51f2a699db42bb 100644
--- a/src/compiler/wasm-compiler.cc
+++ b/src/compiler/wasm-compiler.cc
@@ -2567,9 +2567,10 @@ Handle<Code> CompileWasmFunction(wasm::ErrorThrower& thrower, Isolate* isolate,
if (FLAG_trace_wasm_decode_time) {
double compile_ms = compile_timer.Elapsed().InMillisecondsF();
PrintF(
- "wasm-compile ok: %d bytes, %0.3f ms decode, %0.3f ms compile\n",
+ "wasm-compile ok: %d bytes, %0.3f ms decode, %d nodes, %0.3f ms "
+ "compile\n",
static_cast<int>(function.code_end_offset - function.code_start_offset),
- decode_ms, compile_ms);
+ decode_ms, static_cast<int>(graph.NodeCount()), compile_ms);
}
return code;
}
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698