| 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 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 984 DEFINE_BOOL(trace_isolates, false, "trace isolate state changes") | 984 DEFINE_BOOL(trace_isolates, false, "trace isolate state changes") |
| 985 | 985 |
| 986 // Regexp | 986 // Regexp |
| 987 DEFINE_BOOL(regexp_possessive_quantifier, false, | 987 DEFINE_BOOL(regexp_possessive_quantifier, false, |
| 988 "enable possessive quantifier syntax for testing") | 988 "enable possessive quantifier syntax for testing") |
| 989 DEFINE_BOOL(trace_regexp_bytecodes, false, "trace regexp bytecode execution") | 989 DEFINE_BOOL(trace_regexp_bytecodes, false, "trace regexp bytecode execution") |
| 990 DEFINE_BOOL(trace_regexp_assembler, false, | 990 DEFINE_BOOL(trace_regexp_assembler, false, |
| 991 "trace regexp macro assembler calls.") | 991 "trace regexp macro assembler calls.") |
| 992 DEFINE_BOOL(trace_regexp_parser, false, "trace regexp parsing") | 992 DEFINE_BOOL(trace_regexp_parser, false, "trace regexp parsing") |
| 993 | 993 |
| 994 // Debugger |
| 995 DEFINE_BOOL(print_break_location, false, "print source location on debug break") |
| 996 |
| 994 // | 997 // |
| 995 // Logging and profiling flags | 998 // Logging and profiling flags |
| 996 // | 999 // |
| 997 #undef FLAG | 1000 #undef FLAG |
| 998 #define FLAG FLAG_FULL | 1001 #define FLAG FLAG_FULL |
| 999 | 1002 |
| 1000 // log.cc | 1003 // log.cc |
| 1001 DEFINE_BOOL(log, false, | 1004 DEFINE_BOOL(log, false, |
| 1002 "Minimal logging (no API, code, GC, suspect, or handles samples).") | 1005 "Minimal logging (no API, code, GC, suspect, or handles samples).") |
| 1003 DEFINE_BOOL(log_all, false, "Log all events to the log file.") | 1006 DEFINE_BOOL(log_all, false, "Log all events to the log file.") |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1163 #undef DEFINE_ALIAS_FLOAT | 1166 #undef DEFINE_ALIAS_FLOAT |
| 1164 #undef DEFINE_ALIAS_ARGS | 1167 #undef DEFINE_ALIAS_ARGS |
| 1165 | 1168 |
| 1166 #undef FLAG_MODE_DECLARE | 1169 #undef FLAG_MODE_DECLARE |
| 1167 #undef FLAG_MODE_DEFINE | 1170 #undef FLAG_MODE_DEFINE |
| 1168 #undef FLAG_MODE_DEFINE_DEFAULTS | 1171 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1169 #undef FLAG_MODE_META | 1172 #undef FLAG_MODE_META |
| 1170 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1173 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1171 | 1174 |
| 1172 #undef COMMA | 1175 #undef COMMA |
| OLD | NEW |