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 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 // objects.cc | 769 // objects.cc |
770 DEFINE_BOOL(trace_weak_arrays, false, "Trace WeakFixedArray usage") | 770 DEFINE_BOOL(trace_weak_arrays, false, "Trace WeakFixedArray usage") |
771 DEFINE_BOOL(track_prototype_users, false, | 771 DEFINE_BOOL(track_prototype_users, false, |
772 "Keep track of which maps refer to a given prototype object") | 772 "Keep track of which maps refer to a given prototype object") |
773 DEFINE_BOOL(trace_prototype_users, false, | 773 DEFINE_BOOL(trace_prototype_users, false, |
774 "Trace updates to prototype user tracking") | 774 "Trace updates to prototype user tracking") |
775 DEFINE_BOOL(eliminate_prototype_chain_checks, true, | 775 DEFINE_BOOL(eliminate_prototype_chain_checks, true, |
776 "Collapse prototype chain checks into single-cell checks") | 776 "Collapse prototype chain checks into single-cell checks") |
777 DEFINE_IMPLICATION(eliminate_prototype_chain_checks, track_prototype_users) | 777 DEFINE_IMPLICATION(eliminate_prototype_chain_checks, track_prototype_users) |
778 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") | 778 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") |
| 779 DEFINE_BOOL(trace_for_in_enumerate, false, "Trace for-in enumerate slow-paths") |
779 #if TRACE_MAPS | 780 #if TRACE_MAPS |
780 DEFINE_BOOL(trace_maps, false, "trace map creation") | 781 DEFINE_BOOL(trace_maps, false, "trace map creation") |
781 #endif | 782 #endif |
782 | 783 |
783 // parser.cc | 784 // parser.cc |
784 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") | 785 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") |
785 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") | 786 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") |
786 | 787 |
787 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc | 788 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc |
788 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") | 789 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1165 #undef DEFINE_ALIAS_FLOAT | 1166 #undef DEFINE_ALIAS_FLOAT |
1166 #undef DEFINE_ALIAS_ARGS | 1167 #undef DEFINE_ALIAS_ARGS |
1167 | 1168 |
1168 #undef FLAG_MODE_DECLARE | 1169 #undef FLAG_MODE_DECLARE |
1169 #undef FLAG_MODE_DEFINE | 1170 #undef FLAG_MODE_DEFINE |
1170 #undef FLAG_MODE_DEFINE_DEFAULTS | 1171 #undef FLAG_MODE_DEFINE_DEFAULTS |
1171 #undef FLAG_MODE_META | 1172 #undef FLAG_MODE_META |
1172 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1173 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1173 | 1174 |
1174 #undef COMMA | 1175 #undef COMMA |
OLD | NEW |