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