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 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 "abort program (dump core) when an uncaught exception is thrown") | 821 "abort program (dump core) when an uncaught exception is thrown") |
822 DEFINE_BOOL(randomize_hashes, true, | 822 DEFINE_BOOL(randomize_hashes, true, |
823 "randomize hashes to avoid predictable hash collisions " | 823 "randomize hashes to avoid predictable hash collisions " |
824 "(with snapshots this option cannot override the baked-in seed)") | 824 "(with snapshots this option cannot override the baked-in seed)") |
825 DEFINE_INT(hash_seed, 0, | 825 DEFINE_INT(hash_seed, 0, |
826 "Fixed seed to use to hash property keys (0 means random)" | 826 "Fixed seed to use to hash property keys (0 means random)" |
827 "(with snapshots this option cannot override the baked-in seed)") | 827 "(with snapshots this option cannot override the baked-in seed)") |
828 | 828 |
829 // runtime.cc | 829 // runtime.cc |
830 DEFINE_BOOL(runtime_call_stats, false, "report runtime call counts and times") | 830 DEFINE_BOOL(runtime_call_stats, false, "report runtime call counts and times") |
| 831 DEFINE_BOOL(api_call_stats, false, "only show api call stats") |
| 832 DEFINE_IMPLICATION(api_call_stats, runtime_call_stats) |
831 | 833 |
832 // snapshot-common.cc | 834 // snapshot-common.cc |
833 DEFINE_BOOL(profile_deserialization, false, | 835 DEFINE_BOOL(profile_deserialization, false, |
834 "Print the time it takes to deserialize the snapshot.") | 836 "Print the time it takes to deserialize the snapshot.") |
835 DEFINE_BOOL(serialization_statistics, false, | 837 DEFINE_BOOL(serialization_statistics, false, |
836 "Collect statistics on serialized objects.") | 838 "Collect statistics on serialized objects.") |
837 | 839 |
838 // Regexp | 840 // Regexp |
839 DEFINE_BOOL(regexp_optimization, true, "generate optimized regexp code") | 841 DEFINE_BOOL(regexp_optimization, true, "generate optimized regexp code") |
840 | 842 |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1171 #undef DEFINE_ALIAS_FLOAT | 1173 #undef DEFINE_ALIAS_FLOAT |
1172 #undef DEFINE_ALIAS_ARGS | 1174 #undef DEFINE_ALIAS_ARGS |
1173 | 1175 |
1174 #undef FLAG_MODE_DECLARE | 1176 #undef FLAG_MODE_DECLARE |
1175 #undef FLAG_MODE_DEFINE | 1177 #undef FLAG_MODE_DEFINE |
1176 #undef FLAG_MODE_DEFINE_DEFAULTS | 1178 #undef FLAG_MODE_DEFINE_DEFAULTS |
1177 #undef FLAG_MODE_META | 1179 #undef FLAG_MODE_META |
1178 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1180 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1179 | 1181 |
1180 #undef COMMA | 1182 #undef COMMA |
OLD | NEW |