| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
| 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
| 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
| 8 // | 8 // |
| 9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
| 10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
| (...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 DEFINE_BOOL(stack_trace_on_illegal, false, | 833 DEFINE_BOOL(stack_trace_on_illegal, false, |
| 834 "print stack trace when an illegal exception is thrown") | 834 "print stack trace when an illegal exception is thrown") |
| 835 DEFINE_BOOL(abort_on_uncaught_exception, false, | 835 DEFINE_BOOL(abort_on_uncaught_exception, false, |
| 836 "abort program (dump core) when an uncaught exception is thrown") | 836 "abort program (dump core) when an uncaught exception is thrown") |
| 837 DEFINE_BOOL(randomize_hashes, true, | 837 DEFINE_BOOL(randomize_hashes, true, |
| 838 "randomize hashes to avoid predictable hash collisions " | 838 "randomize hashes to avoid predictable hash collisions " |
| 839 "(with snapshots this option cannot override the baked-in seed)") | 839 "(with snapshots this option cannot override the baked-in seed)") |
| 840 DEFINE_INT(hash_seed, 0, | 840 DEFINE_INT(hash_seed, 0, |
| 841 "Fixed seed to use to hash property keys (0 means random)" | 841 "Fixed seed to use to hash property keys (0 means random)" |
| 842 "(with snapshots this option cannot override the baked-in seed)") | 842 "(with snapshots this option cannot override the baked-in seed)") |
| 843 DEFINE_BOOL(trace_rail, false, "trace RAIL mode") |
| 843 | 844 |
| 844 // runtime.cc | 845 // runtime.cc |
| 845 DEFINE_BOOL(runtime_call_stats, false, "report runtime call counts and times") | 846 DEFINE_BOOL(runtime_call_stats, false, "report runtime call counts and times") |
| 846 | 847 |
| 847 // snapshot-common.cc | 848 // snapshot-common.cc |
| 848 DEFINE_BOOL(profile_deserialization, false, | 849 DEFINE_BOOL(profile_deserialization, false, |
| 849 "Print the time it takes to deserialize the snapshot.") | 850 "Print the time it takes to deserialize the snapshot.") |
| 850 DEFINE_BOOL(serialization_statistics, false, | 851 DEFINE_BOOL(serialization_statistics, false, |
| 851 "Collect statistics on serialized objects.") | 852 "Collect statistics on serialized objects.") |
| 852 | 853 |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1186 #undef DEFINE_ALIAS_FLOAT | 1187 #undef DEFINE_ALIAS_FLOAT |
| 1187 #undef DEFINE_ALIAS_ARGS | 1188 #undef DEFINE_ALIAS_ARGS |
| 1188 | 1189 |
| 1189 #undef FLAG_MODE_DECLARE | 1190 #undef FLAG_MODE_DECLARE |
| 1190 #undef FLAG_MODE_DEFINE | 1191 #undef FLAG_MODE_DEFINE |
| 1191 #undef FLAG_MODE_DEFINE_DEFAULTS | 1192 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1192 #undef FLAG_MODE_META | 1193 #undef FLAG_MODE_META |
| 1193 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1194 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1194 | 1195 |
| 1195 #undef COMMA | 1196 #undef COMMA |
| OLD | NEW |