Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 6ac882da02262ecba4f646bf01123570b1026e6e..48b3b402d8f22f80cd1b29c1c5c404b585a61ff7 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -324,6 +324,8 @@ DEFINE_bool(always_full_compiler, false, |
"try to use the dedicated run-once backend for all code") |
DEFINE_bool(trace_bailout, false, |
"print reasons for falling back to using the classic V8 backend") |
+DEFINE_int(max_opt_count, 10, |
+ "maximum number of optimization attempts before giving up.") |
// compilation-cache.cc |
DEFINE_bool(compilation_cache, true, "enable compilation cache") |