Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index fa982200dff4203da715a7c19d4ca143b2c86788..f40649bdc1ce2287e2641c7205e037ce94ccc72c 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -860,6 +860,24 @@ DEFINE_implication(print_all_code, trace_codegen) |
#endif |
#endif |
+ |
+// |
+// VERIFY_PREDICTABLE related flags |
+// |
+#undef FLAG |
+ |
+#ifdef VERIFY_PREDICTABLE |
+#define FLAG FLAG_FULL |
+#else |
+#define FLAG FLAG_READONLY |
+#endif |
+ |
+DEFINE_bool(verify_predictable, false, |
+ "this mode is used for checking that V8 behaves predictably") |
+DEFINE_int(dump_allocations_digest_at_alloc, 0, |
+ "dump allocations digest each n-th allocation") |
+ |
+ |
// |
// Read-only flags |
// |