Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index f28749c2d71282caf41930f51f1d0bb109eda06e..d828a5cb9e0c6d17e0368d7500008013eb2a61ce 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -547,7 +547,9 @@ DEFINE_BOOL(wasm_break_on_decoder_error, false, |
DEFINE_BOOL(wasm_loop_assignment_analysis, true, |
"perform loop assignment analysis for WASM") |
-DEFINE_BOOL(validate_asm, false, "validate asm.js modules before compiling") |
+DEFINE_BOOL(validate_asm, |
+ true, // TODO(clemensh): Change back to false |
+ "validate asm.js modules before compiling") |
DEFINE_BOOL(suppress_asm_messages, false, |
"don't emit asm.js related messages (for golden file testing)") |
DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console") |
@@ -587,6 +589,7 @@ DEFINE_BOOL(wasm_code_fuzzer_gen_test, false, |
DEFINE_BOOL(print_wasm_code, false, "Print WebAssembly code") |
DEFINE_BOOL(asm_wasm_lazy_compilation, false, |
"enable lazy compilation for asm-wasm modules") |
+DEFINE_IMPLICATION(validate_asm, asm_wasm_lazy_compilation) |
// Profiler flags. |
DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |