Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 7fc4741c0b60fca8f304ba95857d0f71009b2fdd..9fd23f9940a110563ce0eb77b6857a8205195eaa 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -245,6 +245,9 @@ DEFINE_int(parallel_recompilation_queue_length, 2, |
DEFINE_bool(manual_parallel_recompilation, false, |
"disable automatic optimization") |
DEFINE_implication(manual_parallel_recompilation, parallel_recompilation) |
+DEFINE_bool(omit_prototype_checks_for_leaf_maps, true, |
+ "do not emit prototype checks if all prototypes have leaf maps, " |
+ "deoptimize the optimized code if the layout of the maps changes.") |
// Experimental profiler changes. |
DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") |