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 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1028 DEFINE_BOOL(regexp_possessive_quantifier, false, | 1028 DEFINE_BOOL(regexp_possessive_quantifier, false, |
1029 "enable possessive quantifier syntax for testing") | 1029 "enable possessive quantifier syntax for testing") |
1030 DEFINE_BOOL(trace_regexp_bytecodes, false, "trace regexp bytecode execution") | 1030 DEFINE_BOOL(trace_regexp_bytecodes, false, "trace regexp bytecode execution") |
1031 DEFINE_BOOL(trace_regexp_assembler, false, | 1031 DEFINE_BOOL(trace_regexp_assembler, false, |
1032 "trace regexp macro assembler calls.") | 1032 "trace regexp macro assembler calls.") |
1033 DEFINE_BOOL(trace_regexp_parser, false, "trace regexp parsing") | 1033 DEFINE_BOOL(trace_regexp_parser, false, "trace regexp parsing") |
1034 | 1034 |
1035 // Debugger | 1035 // Debugger |
1036 DEFINE_BOOL(print_break_location, false, "print source location on debug break") | 1036 DEFINE_BOOL(print_break_location, false, "print source location on debug break") |
1037 | 1037 |
| 1038 // wasm instance management |
| 1039 DEFINE_BOOL(trace_wasm_instances, false, |
| 1040 "trace creation and collection of wasm instances") |
| 1041 |
1038 // | 1042 // |
1039 // Logging and profiling flags | 1043 // Logging and profiling flags |
1040 // | 1044 // |
1041 #undef FLAG | 1045 #undef FLAG |
1042 #define FLAG FLAG_FULL | 1046 #define FLAG FLAG_FULL |
1043 | 1047 |
1044 // log.cc | 1048 // log.cc |
1045 DEFINE_BOOL(log, false, | 1049 DEFINE_BOOL(log, false, |
1046 "Minimal logging (no API, code, GC, suspect, or handles samples).") | 1050 "Minimal logging (no API, code, GC, suspect, or handles samples).") |
1047 DEFINE_BOOL(log_all, false, "Log all events to the log file.") | 1051 DEFINE_BOOL(log_all, false, "Log all events to the log file.") |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1211 #undef DEFINE_ALIAS_FLOAT | 1215 #undef DEFINE_ALIAS_FLOAT |
1212 #undef DEFINE_ALIAS_ARGS | 1216 #undef DEFINE_ALIAS_ARGS |
1213 | 1217 |
1214 #undef FLAG_MODE_DECLARE | 1218 #undef FLAG_MODE_DECLARE |
1215 #undef FLAG_MODE_DEFINE | 1219 #undef FLAG_MODE_DEFINE |
1216 #undef FLAG_MODE_DEFINE_DEFAULTS | 1220 #undef FLAG_MODE_DEFINE_DEFAULTS |
1217 #undef FLAG_MODE_META | 1221 #undef FLAG_MODE_META |
1218 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1222 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1219 | 1223 |
1220 #undef COMMA | 1224 #undef COMMA |
OLD | NEW |