Chromium Code Reviews| Index: src/flag-definitions.h |
| diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
| index fa982200dff4203da715a7c19d4ca143b2c86788..67a1d39f0cf61d8f2b18265449e399bba4644bec 100644 |
| --- a/src/flag-definitions.h |
| +++ b/src/flag-definitions.h |
| @@ -860,6 +860,31 @@ 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_bool(allocations_digest, false, |
|
Hannes Payer (out of office)
2014/06/09 15:23:51
Do we need both, verify_predictable and allocation
Igor Sheludko
2014/06/10 08:22:54
Done.
|
| + "calculate hash over all allocations performed during program " |
| + "execution") |
| +DEFINE_int(dump_allocations_digest_at_alloc, 0, |
| + "dump allocations digest each n-th allocation") |
| +#ifdef VERIFY_PREDICTABLE |
| +DEFINE_implication(verify_predictable, allocations_digest) |
| +DEFINE_implication(dump_allocations_digest_at_alloc != 0, allocations_digest) |
| +#endif |
| + |
| + |
| // |
| // Read-only flags |
| // |