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