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 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 DEFINE_BOOL(use_marking_progress_bar, true, | 639 DEFINE_BOOL(use_marking_progress_bar, true, |
640 "Use a progress bar to scan large objects in increments when " | 640 "Use a progress bar to scan large objects in increments when " |
641 "incremental marking is active.") | 641 "incremental marking is active.") |
642 DEFINE_BOOL(zap_code_space, true, | 642 DEFINE_BOOL(zap_code_space, true, |
643 "Zap free memory in code space with 0xCC while sweeping.") | 643 "Zap free memory in code space with 0xCC while sweeping.") |
644 DEFINE_INT(random_seed, 0, | 644 DEFINE_INT(random_seed, 0, |
645 "Default seed for initializing random generator " | 645 "Default seed for initializing random generator " |
646 "(0, the default, means to use system random).") | 646 "(0, the default, means to use system random).") |
647 | 647 |
648 // objects.cc | 648 // objects.cc |
| 649 DEFINE_BOOL(trace_weak_arrays, false, "trace WeakFixedArray usage") |
| 650 DEFINE_BOOL(track_prototype_users, false, |
| 651 "keep track of which maps refer to a given prototype object") |
649 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") | 652 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") |
650 #if TRACE_MAPS | 653 #if TRACE_MAPS |
651 DEFINE_BOOL(trace_maps, false, "trace map creation") | 654 DEFINE_BOOL(trace_maps, false, "trace map creation") |
652 #endif | 655 #endif |
653 | 656 |
654 // parser.cc | 657 // parser.cc |
655 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") | 658 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") |
656 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") | 659 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") |
657 | 660 |
658 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc | 661 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
997 #undef DEFINE_ALIAS_FLOAT | 1000 #undef DEFINE_ALIAS_FLOAT |
998 #undef DEFINE_ALIAS_ARGS | 1001 #undef DEFINE_ALIAS_ARGS |
999 | 1002 |
1000 #undef FLAG_MODE_DECLARE | 1003 #undef FLAG_MODE_DECLARE |
1001 #undef FLAG_MODE_DEFINE | 1004 #undef FLAG_MODE_DEFINE |
1002 #undef FLAG_MODE_DEFINE_DEFAULTS | 1005 #undef FLAG_MODE_DEFINE_DEFAULTS |
1003 #undef FLAG_MODE_META | 1006 #undef FLAG_MODE_META |
1004 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1007 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1005 | 1008 |
1006 #undef COMMA | 1009 #undef COMMA |
OLD | NEW |