| 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 944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 955 "(requires heap_stats)") | 955 "(requires heap_stats)") |
| 956 | 956 |
| 957 DEFINE_BOOL(trace_isolates, false, "trace isolate state changes") | 957 DEFINE_BOOL(trace_isolates, false, "trace isolate state changes") |
| 958 | 958 |
| 959 // Regexp | 959 // Regexp |
| 960 DEFINE_BOOL(regexp_possessive_quantifier, false, | 960 DEFINE_BOOL(regexp_possessive_quantifier, false, |
| 961 "enable possessive quantifier syntax for testing") | 961 "enable possessive quantifier syntax for testing") |
| 962 DEFINE_BOOL(trace_regexp_bytecodes, false, "trace regexp bytecode execution") | 962 DEFINE_BOOL(trace_regexp_bytecodes, false, "trace regexp bytecode execution") |
| 963 DEFINE_BOOL(trace_regexp_assembler, false, | 963 DEFINE_BOOL(trace_regexp_assembler, false, |
| 964 "trace regexp macro assembler calls.") | 964 "trace regexp macro assembler calls.") |
| 965 DEFINE_BOOL(trace_regexp_parser, false, "trace regexp parsing") |
| 965 | 966 |
| 966 // | 967 // |
| 967 // Logging and profiling flags | 968 // Logging and profiling flags |
| 968 // | 969 // |
| 969 #undef FLAG | 970 #undef FLAG |
| 970 #define FLAG FLAG_FULL | 971 #define FLAG FLAG_FULL |
| 971 | 972 |
| 972 // log.cc | 973 // log.cc |
| 973 DEFINE_BOOL(log, false, | 974 DEFINE_BOOL(log, false, |
| 974 "Minimal logging (no API, code, GC, suspect, or handles samples).") | 975 "Minimal logging (no API, code, GC, suspect, or handles samples).") |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1135 #undef DEFINE_ALIAS_FLOAT | 1136 #undef DEFINE_ALIAS_FLOAT |
| 1136 #undef DEFINE_ALIAS_ARGS | 1137 #undef DEFINE_ALIAS_ARGS |
| 1137 | 1138 |
| 1138 #undef FLAG_MODE_DECLARE | 1139 #undef FLAG_MODE_DECLARE |
| 1139 #undef FLAG_MODE_DEFINE | 1140 #undef FLAG_MODE_DEFINE |
| 1140 #undef FLAG_MODE_DEFINE_DEFAULTS | 1141 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1141 #undef FLAG_MODE_META | 1142 #undef FLAG_MODE_META |
| 1142 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1143 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1143 | 1144 |
| 1144 #undef COMMA | 1145 #undef COMMA |
| OLD | NEW |