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 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 DEFINE_BOOL(zap_code_space, true, | 668 DEFINE_BOOL(zap_code_space, true, |
669 "Zap free memory in code space with 0xCC while sweeping.") | 669 "Zap free memory in code space with 0xCC while sweeping.") |
670 DEFINE_INT(random_seed, 0, | 670 DEFINE_INT(random_seed, 0, |
671 "Default seed for initializing random generator " | 671 "Default seed for initializing random generator " |
672 "(0, the default, means to use system random).") | 672 "(0, the default, means to use system random).") |
673 | 673 |
674 // objects.cc | 674 // objects.cc |
675 DEFINE_BOOL(trace_weak_arrays, false, "trace WeakFixedArray usage") | 675 DEFINE_BOOL(trace_weak_arrays, false, "trace WeakFixedArray usage") |
676 DEFINE_BOOL(track_prototype_users, false, | 676 DEFINE_BOOL(track_prototype_users, false, |
677 "keep track of which maps refer to a given prototype object") | 677 "keep track of which maps refer to a given prototype object") |
| 678 DEFINE_BOOL(eliminate_prototype_chain_checks, false, |
| 679 "collapse prototype chain checks into single-cell checks") |
| 680 DEFINE_IMPLICATION(eliminate_prototype_chain_checks, track_prototype_users) |
678 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") | 681 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") |
679 #if TRACE_MAPS | 682 #if TRACE_MAPS |
680 DEFINE_BOOL(trace_maps, false, "trace map creation") | 683 DEFINE_BOOL(trace_maps, false, "trace map creation") |
681 #endif | 684 #endif |
682 | 685 |
683 // parser.cc | 686 // parser.cc |
684 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") | 687 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") |
685 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") | 688 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") |
686 | 689 |
687 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc | 690 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 #undef DEFINE_ALIAS_FLOAT | 1045 #undef DEFINE_ALIAS_FLOAT |
1043 #undef DEFINE_ALIAS_ARGS | 1046 #undef DEFINE_ALIAS_ARGS |
1044 | 1047 |
1045 #undef FLAG_MODE_DECLARE | 1048 #undef FLAG_MODE_DECLARE |
1046 #undef FLAG_MODE_DEFINE | 1049 #undef FLAG_MODE_DEFINE |
1047 #undef FLAG_MODE_DEFINE_DEFAULTS | 1050 #undef FLAG_MODE_DEFINE_DEFAULTS |
1048 #undef FLAG_MODE_META | 1051 #undef FLAG_MODE_META |
1049 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1052 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1050 | 1053 |
1051 #undef COMMA | 1054 #undef COMMA |
OLD | NEW |