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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
874 "(with snapshots this option cannot override the baked-in seed)") | 874 "(with snapshots this option cannot override the baked-in seed)") |
875 DEFINE_INT(hash_seed, 0, | 875 DEFINE_INT(hash_seed, 0, |
876 "Fixed seed to use to hash property keys (0 means random)" | 876 "Fixed seed to use to hash property keys (0 means random)" |
877 "(with snapshots this option cannot override the baked-in seed)") | 877 "(with snapshots this option cannot override the baked-in seed)") |
878 DEFINE_BOOL(trace_rail, false, "trace RAIL mode") | 878 DEFINE_BOOL(trace_rail, false, "trace RAIL mode") |
879 DEFINE_BOOL(print_all_exceptions, false, | 879 DEFINE_BOOL(print_all_exceptions, false, |
880 "print exception object and stack trace on each thrown exception") | 880 "print exception object and stack trace on each thrown exception") |
881 | 881 |
882 // runtime.cc | 882 // runtime.cc |
883 DEFINE_BOOL(runtime_call_stats, false, "report runtime call counts and times") | 883 DEFINE_BOOL(runtime_call_stats, false, "report runtime call counts and times") |
884 DEFINE_INT(runtime_stats, 0, | |
885 "internal usage only for controlling runtime statistics") | |
886 DEFINE_VALUE_IMPLICATION(runtime_call_stats, runtime_stats, 1) | |
Camillo Bruni
2016/10/21 08:20:55
"runtime call stats" is by now probably an outdate
| |
884 | 887 |
885 // snapshot-common.cc | 888 // snapshot-common.cc |
886 DEFINE_BOOL(profile_deserialization, false, | 889 DEFINE_BOOL(profile_deserialization, false, |
887 "Print the time it takes to deserialize the snapshot.") | 890 "Print the time it takes to deserialize the snapshot.") |
888 DEFINE_BOOL(serialization_statistics, false, | 891 DEFINE_BOOL(serialization_statistics, false, |
889 "Collect statistics on serialized objects.") | 892 "Collect statistics on serialized objects.") |
890 | 893 |
891 // Regexp | 894 // Regexp |
892 DEFINE_BOOL(regexp_optimization, true, "generate optimized regexp code") | 895 DEFINE_BOOL(regexp_optimization, true, "generate optimized regexp code") |
893 | 896 |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1213 #undef DEFINE_ALIAS_FLOAT | 1216 #undef DEFINE_ALIAS_FLOAT |
1214 #undef DEFINE_ALIAS_ARGS | 1217 #undef DEFINE_ALIAS_ARGS |
1215 | 1218 |
1216 #undef FLAG_MODE_DECLARE | 1219 #undef FLAG_MODE_DECLARE |
1217 #undef FLAG_MODE_DEFINE | 1220 #undef FLAG_MODE_DEFINE |
1218 #undef FLAG_MODE_DEFINE_DEFAULTS | 1221 #undef FLAG_MODE_DEFINE_DEFAULTS |
1219 #undef FLAG_MODE_META | 1222 #undef FLAG_MODE_META |
1220 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1223 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1221 | 1224 |
1222 #undef COMMA | 1225 #undef COMMA |
OLD | NEW |