| 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 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1053 DEFINE_BOOL(log_gc, false, | 1053 DEFINE_BOOL(log_gc, false, |
| 1054 "Log heap samples on garbage collection for the hp2ps tool.") | 1054 "Log heap samples on garbage collection for the hp2ps tool.") |
| 1055 DEFINE_BOOL(log_handles, false, "Log global handle events.") | 1055 DEFINE_BOOL(log_handles, false, "Log global handle events.") |
| 1056 DEFINE_BOOL(log_suspect, false, "Log suspect operations.") | 1056 DEFINE_BOOL(log_suspect, false, "Log suspect operations.") |
| 1057 DEFINE_BOOL(prof, false, | 1057 DEFINE_BOOL(prof, false, |
| 1058 "Log statistical profiling information (implies --log-code).") | 1058 "Log statistical profiling information (implies --log-code).") |
| 1059 DEFINE_BOOL(prof_cpp, false, "Like --prof, but ignore generated code.") | 1059 DEFINE_BOOL(prof_cpp, false, "Like --prof, but ignore generated code.") |
| 1060 DEFINE_IMPLICATION(prof, prof_cpp) | 1060 DEFINE_IMPLICATION(prof, prof_cpp) |
| 1061 DEFINE_BOOL(prof_browser_mode, true, | 1061 DEFINE_BOOL(prof_browser_mode, true, |
| 1062 "Used with --prof, turns on browser-compatible mode for profiling.") | 1062 "Used with --prof, turns on browser-compatible mode for profiling.") |
| 1063 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") | |
| 1064 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") | 1063 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") |
| 1065 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") | 1064 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") |
| 1066 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") | 1065 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") |
| 1067 DEFINE_BOOL(perf_basic_prof, false, | 1066 DEFINE_BOOL(perf_basic_prof, false, |
| 1068 "Enable perf linux profiler (basic support).") | 1067 "Enable perf linux profiler (basic support).") |
| 1069 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) | 1068 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) |
| 1070 DEFINE_BOOL(perf_basic_prof_only_functions, false, | 1069 DEFINE_BOOL(perf_basic_prof_only_functions, false, |
| 1071 "Only report function code ranges to perf (i.e. no stubs).") | 1070 "Only report function code ranges to perf (i.e. no stubs).") |
| 1072 DEFINE_IMPLICATION(perf_basic_prof_only_functions, perf_basic_prof) | 1071 DEFINE_IMPLICATION(perf_basic_prof_only_functions, perf_basic_prof) |
| 1073 DEFINE_BOOL(perf_prof, false, | 1072 DEFINE_BOOL(perf_prof, false, |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1213 #undef DEFINE_ALIAS_FLOAT | 1212 #undef DEFINE_ALIAS_FLOAT |
| 1214 #undef DEFINE_ALIAS_ARGS | 1213 #undef DEFINE_ALIAS_ARGS |
| 1215 | 1214 |
| 1216 #undef FLAG_MODE_DECLARE | 1215 #undef FLAG_MODE_DECLARE |
| 1217 #undef FLAG_MODE_DEFINE | 1216 #undef FLAG_MODE_DEFINE |
| 1218 #undef FLAG_MODE_DEFINE_DEFAULTS | 1217 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1219 #undef FLAG_MODE_META | 1218 #undef FLAG_MODE_META |
| 1220 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1219 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1221 | 1220 |
| 1222 #undef COMMA | 1221 #undef COMMA |
| OLD | NEW |