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

Unified Diff: src/flag-definitions.h

Issue 1933513003: [wasm] Add a flag to output the generated code size (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add TODO and switch to uint32_t Created 4 years, 8 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/wasm/wasm-module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/flag-definitions.h
diff --git a/src/flag-definitions.h b/src/flag-definitions.h
index fcc834d36a91041998d5ff5f77e38fcc1a2e28fa..2d36234e64fbeeef1261e979df45281359fc837d 100644
--- a/src/flag-definitions.h
+++ b/src/flag-definitions.h
@@ -481,6 +481,8 @@ DEFINE_BOOL(enable_simd_asmjs, false, "enable SIMD.js in asm.js stdlib")
DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes")
DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to")
+DEFINE_BOOL(print_wasm_code_size, false,
+ "print the generated code size for each wasm module")
DEFINE_INT(typed_array_max_size_in_heap, 64,
"threshold for in-heap typed array")
« no previous file with comments | « no previous file | src/wasm/wasm-module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698