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 819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 "Trace updates to prototype user tracking") | 830 "Trace updates to prototype user tracking") |
831 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") | 831 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") |
832 DEFINE_BOOL(trace_for_in_enumerate, false, "Trace for-in enumerate slow-paths") | 832 DEFINE_BOOL(trace_for_in_enumerate, false, "Trace for-in enumerate slow-paths") |
833 #if TRACE_MAPS | 833 #if TRACE_MAPS |
834 DEFINE_BOOL(trace_maps, false, "trace map creation") | 834 DEFINE_BOOL(trace_maps, false, "trace map creation") |
835 #endif | 835 #endif |
836 | 836 |
837 // parser.cc | 837 // parser.cc |
838 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") | 838 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") |
839 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") | 839 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") |
840 DEFINE_BOOL(lazy_inner_functions, true, "enable lazy parsing inner functions") | |
841 | 840 |
842 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc | 841 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc |
843 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") | 842 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") |
844 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") | 843 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") |
845 DEFINE_BOOL(check_icache, false, | 844 DEFINE_BOOL(check_icache, false, |
846 "Check icache flushes in ARM and MIPS simulator") | 845 "Check icache flushes in ARM and MIPS simulator") |
847 DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions") | 846 DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions") |
848 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) || \ | 847 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) || \ |
849 defined(V8_TARGET_ARCH_PPC64) | 848 defined(V8_TARGET_ARCH_PPC64) |
850 DEFINE_INT(sim_stack_alignment, 16, | 849 DEFINE_INT(sim_stack_alignment, 16, |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1209 #undef DEFINE_ALIAS_FLOAT | 1208 #undef DEFINE_ALIAS_FLOAT |
1210 #undef DEFINE_ALIAS_ARGS | 1209 #undef DEFINE_ALIAS_ARGS |
1211 | 1210 |
1212 #undef FLAG_MODE_DECLARE | 1211 #undef FLAG_MODE_DECLARE |
1213 #undef FLAG_MODE_DEFINE | 1212 #undef FLAG_MODE_DEFINE |
1214 #undef FLAG_MODE_DEFINE_DEFAULTS | 1213 #undef FLAG_MODE_DEFINE_DEFAULTS |
1215 #undef FLAG_MODE_META | 1214 #undef FLAG_MODE_META |
1216 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1215 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1217 | 1216 |
1218 #undef COMMA | 1217 #undef COMMA |
OLD | NEW |