| 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 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 DEFINE_BOOL(prof, false, | 775 DEFINE_BOOL(prof, false, |
| 776 "Log statistical profiling information (implies --log-code).") | 776 "Log statistical profiling information (implies --log-code).") |
| 777 DEFINE_BOOL(prof_browser_mode, true, | 777 DEFINE_BOOL(prof_browser_mode, true, |
| 778 "Used with --prof, turns on browser-compatible mode for profiling.") | 778 "Used with --prof, turns on browser-compatible mode for profiling.") |
| 779 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") | 779 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") |
| 780 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") | 780 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") |
| 781 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") | 781 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") |
| 782 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") | 782 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") |
| 783 DEFINE_BOOL(perf_basic_prof, false, | 783 DEFINE_BOOL(perf_basic_prof, false, |
| 784 "Enable perf linux profiler (basic support).") | 784 "Enable perf linux profiler (basic support).") |
| 785 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) |
| 785 DEFINE_BOOL(perf_jit_prof, false, | 786 DEFINE_BOOL(perf_jit_prof, false, |
| 786 "Enable perf linux profiler (experimental annotate support).") | 787 "Enable perf linux profiler (experimental annotate support).") |
| 788 DEFINE_NEG_IMPLICATION(perf_jit_prof, compact_code_space) |
| 787 DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__", | 789 DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__", |
| 788 "Specify the name of the file for fake gc mmap used in ll_prof") | 790 "Specify the name of the file for fake gc mmap used in ll_prof") |
| 789 DEFINE_BOOL(log_internal_timer_events, false, "Time internal events.") | 791 DEFINE_BOOL(log_internal_timer_events, false, "Time internal events.") |
| 790 DEFINE_BOOL(log_timer_events, false, | 792 DEFINE_BOOL(log_timer_events, false, |
| 791 "Time events including external callbacks.") | 793 "Time events including external callbacks.") |
| 792 DEFINE_IMPLICATION(log_timer_events, log_internal_timer_events) | 794 DEFINE_IMPLICATION(log_timer_events, log_internal_timer_events) |
| 793 DEFINE_IMPLICATION(log_internal_timer_events, prof) | 795 DEFINE_IMPLICATION(log_internal_timer_events, prof) |
| 794 DEFINE_BOOL(log_instruction_stats, false, "Log AArch64 instruction statistics.") | 796 DEFINE_BOOL(log_instruction_stats, false, "Log AArch64 instruction statistics.") |
| 795 DEFINE_STRING(log_instruction_file, "arm64_inst.csv", | 797 DEFINE_STRING(log_instruction_file, "arm64_inst.csv", |
| 796 "AArch64 instruction statistics log file.") | 798 "AArch64 instruction statistics log file.") |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 #undef DEFINE_ALIAS_FLOAT | 914 #undef DEFINE_ALIAS_FLOAT |
| 913 #undef DEFINE_ALIAS_ARGS | 915 #undef DEFINE_ALIAS_ARGS |
| 914 | 916 |
| 915 #undef FLAG_MODE_DECLARE | 917 #undef FLAG_MODE_DECLARE |
| 916 #undef FLAG_MODE_DEFINE | 918 #undef FLAG_MODE_DEFINE |
| 917 #undef FLAG_MODE_DEFINE_DEFAULTS | 919 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 918 #undef FLAG_MODE_META | 920 #undef FLAG_MODE_META |
| 919 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 921 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 920 | 922 |
| 921 #undef COMMA | 923 #undef COMMA |
| OLD | NEW |