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 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") | 841 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") |
842 DEFINE_BOOL(trace_for_in_enumerate, false, "Trace for-in enumerate slow-paths") | 842 DEFINE_BOOL(trace_for_in_enumerate, false, "Trace for-in enumerate slow-paths") |
843 #if TRACE_MAPS | 843 #if TRACE_MAPS |
844 DEFINE_BOOL(trace_maps, false, "trace map creation") | 844 DEFINE_BOOL(trace_maps, false, "trace map creation") |
845 #endif | 845 #endif |
846 | 846 |
847 // parser.cc | 847 // parser.cc |
848 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") | 848 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") |
849 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") | 849 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") |
850 DEFINE_BOOL(trace_preparse, false, "trace preparsing decisions") | 850 DEFINE_BOOL(trace_preparse, false, "trace preparsing decisions") |
851 DEFINE_BOOL(lazy_inner_functions, false, "enable lazy parsing inner functions") | 851 DEFINE_BOOL(lazy_inner_functions, true, "enable lazy parsing inner functions") |
852 | 852 |
853 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc | 853 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc |
854 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") | 854 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") |
855 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") | 855 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") |
856 DEFINE_BOOL(check_icache, false, | 856 DEFINE_BOOL(check_icache, false, |
857 "Check icache flushes in ARM and MIPS simulator") | 857 "Check icache flushes in ARM and MIPS simulator") |
858 DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions") | 858 DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions") |
859 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) || \ | 859 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) || \ |
860 defined(V8_TARGET_ARCH_PPC64) | 860 defined(V8_TARGET_ARCH_PPC64) |
861 DEFINE_INT(sim_stack_alignment, 16, | 861 DEFINE_INT(sim_stack_alignment, 16, |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1241 #undef DEFINE_ALIAS_FLOAT | 1241 #undef DEFINE_ALIAS_FLOAT |
1242 #undef DEFINE_ALIAS_ARGS | 1242 #undef DEFINE_ALIAS_ARGS |
1243 | 1243 |
1244 #undef FLAG_MODE_DECLARE | 1244 #undef FLAG_MODE_DECLARE |
1245 #undef FLAG_MODE_DEFINE | 1245 #undef FLAG_MODE_DEFINE |
1246 #undef FLAG_MODE_DEFINE_DEFAULTS | 1246 #undef FLAG_MODE_DEFINE_DEFAULTS |
1247 #undef FLAG_MODE_META | 1247 #undef FLAG_MODE_META |
1248 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1248 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1249 | 1249 |
1250 #undef COMMA | 1250 #undef COMMA |
OLD | NEW |