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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 "Use a progress bar to scan large objects in increments when " | 778 "Use a progress bar to scan large objects in increments when " |
779 "incremental marking is active.") | 779 "incremental marking is active.") |
780 DEFINE_BOOL(zap_code_space, DEBUG_BOOL, | 780 DEFINE_BOOL(zap_code_space, DEBUG_BOOL, |
781 "Zap free memory in code space with 0xCC while sweeping.") | 781 "Zap free memory in code space with 0xCC while sweeping.") |
782 DEFINE_INT(random_seed, 0, | 782 DEFINE_INT(random_seed, 0, |
783 "Default seed for initializing random generator " | 783 "Default seed for initializing random generator " |
784 "(0, the default, means to use system random).") | 784 "(0, the default, means to use system random).") |
785 | 785 |
786 // objects.cc | 786 // objects.cc |
787 DEFINE_BOOL(trace_weak_arrays, false, "Trace WeakFixedArray usage") | 787 DEFINE_BOOL(trace_weak_arrays, false, "Trace WeakFixedArray usage") |
788 DEFINE_BOOL(track_prototype_users, false, | |
789 "Keep track of which maps refer to a given prototype object") | |
790 DEFINE_BOOL(trace_prototype_users, false, | 788 DEFINE_BOOL(trace_prototype_users, false, |
791 "Trace updates to prototype user tracking") | 789 "Trace updates to prototype user tracking") |
792 DEFINE_BOOL(eliminate_prototype_chain_checks, true, | |
793 "Collapse prototype chain checks into single-cell checks") | |
794 DEFINE_IMPLICATION(eliminate_prototype_chain_checks, track_prototype_users) | |
795 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") | 790 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") |
796 DEFINE_BOOL(trace_for_in_enumerate, false, "Trace for-in enumerate slow-paths") | 791 DEFINE_BOOL(trace_for_in_enumerate, false, "Trace for-in enumerate slow-paths") |
797 #if TRACE_MAPS | 792 #if TRACE_MAPS |
798 DEFINE_BOOL(trace_maps, false, "trace map creation") | 793 DEFINE_BOOL(trace_maps, false, "trace map creation") |
799 #endif | 794 #endif |
800 | 795 |
801 // parser.cc | 796 // parser.cc |
802 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") | 797 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") |
803 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") | 798 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") |
804 | 799 |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1187 #undef DEFINE_ALIAS_FLOAT | 1182 #undef DEFINE_ALIAS_FLOAT |
1188 #undef DEFINE_ALIAS_ARGS | 1183 #undef DEFINE_ALIAS_ARGS |
1189 | 1184 |
1190 #undef FLAG_MODE_DECLARE | 1185 #undef FLAG_MODE_DECLARE |
1191 #undef FLAG_MODE_DEFINE | 1186 #undef FLAG_MODE_DEFINE |
1192 #undef FLAG_MODE_DEFINE_DEFAULTS | 1187 #undef FLAG_MODE_DEFINE_DEFAULTS |
1193 #undef FLAG_MODE_META | 1188 #undef FLAG_MODE_META |
1194 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1189 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1195 | 1190 |
1196 #undef COMMA | 1191 #undef COMMA |
OLD | NEW |