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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
613 "Use a progress bar to scan large objects in increments when " | 613 "Use a progress bar to scan large objects in increments when " |
614 "incremental marking is active.") | 614 "incremental marking is active.") |
615 DEFINE_BOOL(zap_code_space, true, | 615 DEFINE_BOOL(zap_code_space, true, |
616 "Zap free memory in code space with 0xCC while sweeping.") | 616 "Zap free memory in code space with 0xCC while sweeping.") |
617 DEFINE_INT(random_seed, 0, | 617 DEFINE_INT(random_seed, 0, |
618 "Default seed for initializing random generator " | 618 "Default seed for initializing random generator " |
619 "(0, the default, means to use system random).") | 619 "(0, the default, means to use system random).") |
620 | 620 |
621 // objects.cc | 621 // objects.cc |
622 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") | 622 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") |
| 623 #if TRACE_MAPS |
| 624 DEFINE_BOOL(trace_maps, false, "trace map creation") |
| 625 #endif |
623 | 626 |
624 // parser.cc | 627 // parser.cc |
625 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") | 628 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") |
626 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") | 629 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") |
627 | 630 |
628 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc | 631 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc |
629 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") | 632 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") |
630 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") | 633 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") |
631 DEFINE_BOOL(check_icache, false, | 634 DEFINE_BOOL(check_icache, false, |
632 "Check icache flushes in ARM and MIPS simulator") | 635 "Check icache flushes in ARM and MIPS simulator") |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
970 #undef DEFINE_ALIAS_FLOAT | 973 #undef DEFINE_ALIAS_FLOAT |
971 #undef DEFINE_ALIAS_ARGS | 974 #undef DEFINE_ALIAS_ARGS |
972 | 975 |
973 #undef FLAG_MODE_DECLARE | 976 #undef FLAG_MODE_DECLARE |
974 #undef FLAG_MODE_DEFINE | 977 #undef FLAG_MODE_DEFINE |
975 #undef FLAG_MODE_DEFINE_DEFAULTS | 978 #undef FLAG_MODE_DEFINE_DEFAULTS |
976 #undef FLAG_MODE_META | 979 #undef FLAG_MODE_META |
977 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 980 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
978 | 981 |
979 #undef COMMA | 982 #undef COMMA |
OLD | NEW |