| 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 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 DEFINE_BOOL(disable_old_api_accessors, false, | 951 DEFINE_BOOL(disable_old_api_accessors, false, |
| 952 "Disable old-style API accessors whose setters trigger through the " | 952 "Disable old-style API accessors whose setters trigger through the " |
| 953 "prototype chain") | 953 "prototype chain") |
| 954 | 954 |
| 955 // | 955 // |
| 956 // Dev shell flags | 956 // Dev shell flags |
| 957 // | 957 // |
| 958 | 958 |
| 959 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") | 959 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") |
| 960 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") | 960 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") |
| 961 DEFINE_BOOL(dump_counters_nvp, false, |
| 962 "Dump counters as name-value pairs on exit") |
| 961 | 963 |
| 962 DEFINE_STRING(map_counters, "", "Map counters to a file") | 964 DEFINE_STRING(map_counters, "", "Map counters to a file") |
| 963 DEFINE_ARGS(js_arguments, | 965 DEFINE_ARGS(js_arguments, |
| 964 "Pass all remaining arguments to the script. Alias for \"--\".") | 966 "Pass all remaining arguments to the script. Alias for \"--\".") |
| 965 | 967 |
| 966 // | 968 // |
| 967 // GDB JIT integration flags. | 969 // GDB JIT integration flags. |
| 968 // | 970 // |
| 969 #undef FLAG | 971 #undef FLAG |
| 970 #ifdef ENABLE_GDB_JIT_INTERFACE | 972 #ifdef ENABLE_GDB_JIT_INTERFACE |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1247 #undef DEFINE_ALIAS_FLOAT | 1249 #undef DEFINE_ALIAS_FLOAT |
| 1248 #undef DEFINE_ALIAS_ARGS | 1250 #undef DEFINE_ALIAS_ARGS |
| 1249 | 1251 |
| 1250 #undef FLAG_MODE_DECLARE | 1252 #undef FLAG_MODE_DECLARE |
| 1251 #undef FLAG_MODE_DEFINE | 1253 #undef FLAG_MODE_DEFINE |
| 1252 #undef FLAG_MODE_DEFINE_DEFAULTS | 1254 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1253 #undef FLAG_MODE_META | 1255 #undef FLAG_MODE_META |
| 1254 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1256 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1255 | 1257 |
| 1256 #undef COMMA | 1258 #undef COMMA |
| OLD | NEW |