Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index bec85bfa2a01d5f4a5b8a31b718d31f5771415cc..2968445d87736082ac7245a834383ab47ef8d1bf 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -169,6 +169,9 @@ DEFINE_int(stress_runs, 0, "number of stress runs") |
DEFINE_bool(optimize_closures, true, "optimize closures") |
DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
+DEFINE_bool(optimize_for_in, false, |
+ "optimize functions containing for-in loops") |
+ |
// Experimental profiler changes. |
DEFINE_bool(experimental_profiler, false, "enable all profiler experiments") |
DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |