| 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 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 "print stack trace when an illegal exception is thrown") | 795 "print stack trace when an illegal exception is thrown") |
| 796 DEFINE_BOOL(abort_on_uncaught_exception, false, | 796 DEFINE_BOOL(abort_on_uncaught_exception, false, |
| 797 "abort program (dump core) when an uncaught exception is thrown") | 797 "abort program (dump core) when an uncaught exception is thrown") |
| 798 DEFINE_BOOL(randomize_hashes, true, | 798 DEFINE_BOOL(randomize_hashes, true, |
| 799 "randomize hashes to avoid predictable hash collisions " | 799 "randomize hashes to avoid predictable hash collisions " |
| 800 "(with snapshots this option cannot override the baked-in seed)") | 800 "(with snapshots this option cannot override the baked-in seed)") |
| 801 DEFINE_INT(hash_seed, 0, | 801 DEFINE_INT(hash_seed, 0, |
| 802 "Fixed seed to use to hash property keys (0 means random)" | 802 "Fixed seed to use to hash property keys (0 means random)" |
| 803 "(with snapshots this option cannot override the baked-in seed)") | 803 "(with snapshots this option cannot override the baked-in seed)") |
| 804 | 804 |
| 805 // runtime.cc |
| 806 DEFINE_BOOL(runtime_call_stats, false, "report runtime call counts and times") |
| 807 |
| 805 // snapshot-common.cc | 808 // snapshot-common.cc |
| 806 DEFINE_BOOL(profile_deserialization, false, | 809 DEFINE_BOOL(profile_deserialization, false, |
| 807 "Print the time it takes to deserialize the snapshot.") | 810 "Print the time it takes to deserialize the snapshot.") |
| 808 DEFINE_BOOL(serialization_statistics, false, | 811 DEFINE_BOOL(serialization_statistics, false, |
| 809 "Collect statistics on serialized objects.") | 812 "Collect statistics on serialized objects.") |
| 810 | 813 |
| 811 // Regexp | 814 // Regexp |
| 812 DEFINE_BOOL(regexp_optimization, true, "generate optimized regexp code") | 815 DEFINE_BOOL(regexp_optimization, true, "generate optimized regexp code") |
| 813 | 816 |
| 814 // Testing flags test/cctest/test-{flags,api,serialization}.cc | 817 // Testing flags test/cctest/test-{flags,api,serialization}.cc |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1133 #undef DEFINE_ALIAS_FLOAT | 1136 #undef DEFINE_ALIAS_FLOAT |
| 1134 #undef DEFINE_ALIAS_ARGS | 1137 #undef DEFINE_ALIAS_ARGS |
| 1135 | 1138 |
| 1136 #undef FLAG_MODE_DECLARE | 1139 #undef FLAG_MODE_DECLARE |
| 1137 #undef FLAG_MODE_DEFINE | 1140 #undef FLAG_MODE_DEFINE |
| 1138 #undef FLAG_MODE_DEFINE_DEFAULTS | 1141 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1139 #undef FLAG_MODE_META | 1142 #undef FLAG_MODE_META |
| 1140 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1143 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1141 | 1144 |
| 1142 #undef COMMA | 1145 #undef COMMA |
| OLD | NEW |