| 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 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 DEFINE_BOOL(log_code, false, | 850 DEFINE_BOOL(log_code, false, |
| 851 "Log code events to the log file without profiling.") | 851 "Log code events to the log file without profiling.") |
| 852 DEFINE_BOOL(log_gc, false, | 852 DEFINE_BOOL(log_gc, false, |
| 853 "Log heap samples on garbage collection for the hp2ps tool.") | 853 "Log heap samples on garbage collection for the hp2ps tool.") |
| 854 DEFINE_BOOL(log_handles, false, "Log global handle events.") | 854 DEFINE_BOOL(log_handles, false, "Log global handle events.") |
| 855 DEFINE_BOOL(log_snapshot_positions, false, | 855 DEFINE_BOOL(log_snapshot_positions, false, |
| 856 "log positions of (de)serialized objects in the snapshot.") | 856 "log positions of (de)serialized objects in the snapshot.") |
| 857 DEFINE_BOOL(log_suspect, false, "Log suspect operations.") | 857 DEFINE_BOOL(log_suspect, false, "Log suspect operations.") |
| 858 DEFINE_BOOL(prof, false, | 858 DEFINE_BOOL(prof, false, |
| 859 "Log statistical profiling information (implies --log-code).") | 859 "Log statistical profiling information (implies --log-code).") |
| 860 DEFINE_BOOL(prof_cpp, false, "Like --prof, but ignore generated code.") |
| 861 DEFINE_IMPLICATION(prof, prof_cpp) |
| 860 DEFINE_BOOL(prof_browser_mode, true, | 862 DEFINE_BOOL(prof_browser_mode, true, |
| 861 "Used with --prof, turns on browser-compatible mode for profiling.") | 863 "Used with --prof, turns on browser-compatible mode for profiling.") |
| 862 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") | 864 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") |
| 863 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") | 865 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") |
| 864 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") | 866 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") |
| 865 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") | 867 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") |
| 866 DEFINE_BOOL(perf_basic_prof, false, | 868 DEFINE_BOOL(perf_basic_prof, false, |
| 867 "Enable perf linux profiler (basic support).") | 869 "Enable perf linux profiler (basic support).") |
| 868 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) | 870 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) |
| 869 DEFINE_BOOL(perf_jit_prof, false, | 871 DEFINE_BOOL(perf_jit_prof, false, |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1004 #undef DEFINE_ALIAS_FLOAT | 1006 #undef DEFINE_ALIAS_FLOAT |
| 1005 #undef DEFINE_ALIAS_ARGS | 1007 #undef DEFINE_ALIAS_ARGS |
| 1006 | 1008 |
| 1007 #undef FLAG_MODE_DECLARE | 1009 #undef FLAG_MODE_DECLARE |
| 1008 #undef FLAG_MODE_DEFINE | 1010 #undef FLAG_MODE_DEFINE |
| 1009 #undef FLAG_MODE_DEFINE_DEFAULTS | 1011 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1010 #undef FLAG_MODE_META | 1012 #undef FLAG_MODE_META |
| 1011 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1013 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1012 | 1014 |
| 1013 #undef COMMA | 1015 #undef COMMA |
| OLD | NEW |