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 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 DEFINE_BOOL(use_marking_progress_bar, true, | 671 DEFINE_BOOL(use_marking_progress_bar, true, |
672 "Use a progress bar to scan large objects in increments when " | 672 "Use a progress bar to scan large objects in increments when " |
673 "incremental marking is active.") | 673 "incremental marking is active.") |
674 DEFINE_BOOL(zap_code_space, true, | 674 DEFINE_BOOL(zap_code_space, true, |
675 "Zap free memory in code space with 0xCC while sweeping.") | 675 "Zap free memory in code space with 0xCC while sweeping.") |
676 DEFINE_INT(random_seed, 0, | 676 DEFINE_INT(random_seed, 0, |
677 "Default seed for initializing random generator " | 677 "Default seed for initializing random generator " |
678 "(0, the default, means to use system random).") | 678 "(0, the default, means to use system random).") |
679 | 679 |
680 // objects.cc | 680 // objects.cc |
681 DEFINE_BOOL(trace_weak_arrays, false, "trace WeakFixedArray usage") | 681 DEFINE_BOOL(trace_weak_arrays, false, "Trace WeakFixedArray usage") |
682 DEFINE_BOOL(track_prototype_users, false, | 682 DEFINE_BOOL(track_prototype_users, false, |
683 "keep track of which maps refer to a given prototype object") | 683 "Keep track of which maps refer to a given prototype object") |
| 684 DEFINE_BOOL(trace_prototype_users, false, |
| 685 "Trace updates to prototype user tracking") |
684 DEFINE_BOOL(eliminate_prototype_chain_checks, true, | 686 DEFINE_BOOL(eliminate_prototype_chain_checks, true, |
685 "collapse prototype chain checks into single-cell checks") | 687 "Collapse prototype chain checks into single-cell checks") |
686 DEFINE_IMPLICATION(eliminate_prototype_chain_checks, track_prototype_users) | 688 DEFINE_IMPLICATION(eliminate_prototype_chain_checks, track_prototype_users) |
687 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") | 689 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") |
688 #if TRACE_MAPS | 690 #if TRACE_MAPS |
689 DEFINE_BOOL(trace_maps, false, "trace map creation") | 691 DEFINE_BOOL(trace_maps, false, "trace map creation") |
690 #endif | 692 #endif |
691 | 693 |
692 // parser.cc | 694 // parser.cc |
693 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") | 695 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") |
694 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") | 696 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") |
695 | 697 |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1053 #undef DEFINE_ALIAS_FLOAT | 1055 #undef DEFINE_ALIAS_FLOAT |
1054 #undef DEFINE_ALIAS_ARGS | 1056 #undef DEFINE_ALIAS_ARGS |
1055 | 1057 |
1056 #undef FLAG_MODE_DECLARE | 1058 #undef FLAG_MODE_DECLARE |
1057 #undef FLAG_MODE_DEFINE | 1059 #undef FLAG_MODE_DEFINE |
1058 #undef FLAG_MODE_DEFINE_DEFAULTS | 1060 #undef FLAG_MODE_DEFINE_DEFAULTS |
1059 #undef FLAG_MODE_META | 1061 #undef FLAG_MODE_META |
1060 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1062 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1061 | 1063 |
1062 #undef COMMA | 1064 #undef COMMA |
OLD | NEW |