| 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 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 622 DEFINE_BOOL(use_marking_progress_bar, true, | 622 DEFINE_BOOL(use_marking_progress_bar, true, |
| 623 "Use a progress bar to scan large objects in increments when " | 623 "Use a progress bar to scan large objects in increments when " |
| 624 "incremental marking is active.") | 624 "incremental marking is active.") |
| 625 DEFINE_BOOL(zap_code_space, true, | 625 DEFINE_BOOL(zap_code_space, true, |
| 626 "Zap free memory in code space with 0xCC while sweeping.") | 626 "Zap free memory in code space with 0xCC while sweeping.") |
| 627 DEFINE_INT(random_seed, 0, | 627 DEFINE_INT(random_seed, 0, |
| 628 "Default seed for initializing random generator " | 628 "Default seed for initializing random generator " |
| 629 "(0, the default, means to use system random).") | 629 "(0, the default, means to use system random).") |
| 630 | 630 |
| 631 // objects.cc | 631 // objects.cc |
| 632 DEFINE_BOOL(trace_weak_arrays, false, "trace WeakFixedArray usage") |
| 633 DEFINE_BOOL(track_prototype_users, false, |
| 634 "keep track of which maps refer to a given prototype object") |
| 632 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") | 635 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") |
| 633 #if TRACE_MAPS | 636 #if TRACE_MAPS |
| 634 DEFINE_BOOL(trace_maps, false, "trace map creation") | 637 DEFINE_BOOL(trace_maps, false, "trace map creation") |
| 635 #endif | 638 #endif |
| 636 | 639 |
| 637 // parser.cc | 640 // parser.cc |
| 638 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") | 641 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") |
| 639 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") | 642 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") |
| 640 | 643 |
| 641 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc | 644 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 989 #undef DEFINE_ALIAS_FLOAT | 992 #undef DEFINE_ALIAS_FLOAT |
| 990 #undef DEFINE_ALIAS_ARGS | 993 #undef DEFINE_ALIAS_ARGS |
| 991 | 994 |
| 992 #undef FLAG_MODE_DECLARE | 995 #undef FLAG_MODE_DECLARE |
| 993 #undef FLAG_MODE_DEFINE | 996 #undef FLAG_MODE_DEFINE |
| 994 #undef FLAG_MODE_DEFINE_DEFAULTS | 997 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 995 #undef FLAG_MODE_META | 998 #undef FLAG_MODE_META |
| 996 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 999 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 997 | 1000 |
| 998 #undef COMMA | 1001 #undef COMMA |
| OLD | NEW |