Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 9c9362b2f003d5e648b8186813d8fe85da300b70..bc699dcef330c4b3caac1ebf8d48d2e4d074a427 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -230,6 +230,9 @@ DEFINE_bool(stress_environments, false, "environment for every instruction") |
DEFINE_int(deopt_every_n_times, |
0, |
"deoptimize every n times a deopt point is passed") |
+DEFINE_int(deopt_every_n_garbage_collections, |
+ 0, |
+ "deoptimize every n garbage collections") |
DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") |
DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |