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 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
879 DEFINE_BOOL(use_marking_progress_bar, true, | 879 DEFINE_BOOL(use_marking_progress_bar, true, |
880 "Use a progress bar to scan large objects in increments when " | 880 "Use a progress bar to scan large objects in increments when " |
881 "incremental marking is active.") | 881 "incremental marking is active.") |
882 DEFINE_BOOL(zap_code_space, DEBUG_BOOL, | 882 DEFINE_BOOL(zap_code_space, DEBUG_BOOL, |
883 "Zap free memory in code space with 0xCC while sweeping.") | 883 "Zap free memory in code space with 0xCC while sweeping.") |
884 DEFINE_INT(random_seed, 0, | 884 DEFINE_INT(random_seed, 0, |
885 "Default seed for initializing random generator " | 885 "Default seed for initializing random generator " |
886 "(0, the default, means to use system random).") | 886 "(0, the default, means to use system random).") |
887 | 887 |
888 // objects.cc | 888 // objects.cc |
| 889 DEFINE_BOOL(thin_strings, false, "Enable ThinString support") |
889 DEFINE_BOOL(trace_weak_arrays, false, "Trace WeakFixedArray usage") | 890 DEFINE_BOOL(trace_weak_arrays, false, "Trace WeakFixedArray usage") |
890 DEFINE_BOOL(trace_prototype_users, false, | 891 DEFINE_BOOL(trace_prototype_users, false, |
891 "Trace updates to prototype user tracking") | 892 "Trace updates to prototype user tracking") |
892 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") | 893 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") |
893 DEFINE_BOOL(trace_for_in_enumerate, false, "Trace for-in enumerate slow-paths") | 894 DEFINE_BOOL(trace_for_in_enumerate, false, "Trace for-in enumerate slow-paths") |
894 #if TRACE_MAPS | 895 #if TRACE_MAPS |
895 DEFINE_BOOL(trace_maps, false, "trace map creation") | 896 DEFINE_BOOL(trace_maps, false, "trace map creation") |
896 #endif | 897 #endif |
897 | 898 |
898 // parser.cc | 899 // parser.cc |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1307 #undef DEFINE_ALIAS_FLOAT | 1308 #undef DEFINE_ALIAS_FLOAT |
1308 #undef DEFINE_ALIAS_ARGS | 1309 #undef DEFINE_ALIAS_ARGS |
1309 | 1310 |
1310 #undef FLAG_MODE_DECLARE | 1311 #undef FLAG_MODE_DECLARE |
1311 #undef FLAG_MODE_DEFINE | 1312 #undef FLAG_MODE_DEFINE |
1312 #undef FLAG_MODE_DEFINE_DEFAULTS | 1313 #undef FLAG_MODE_DEFINE_DEFAULTS |
1313 #undef FLAG_MODE_META | 1314 #undef FLAG_MODE_META |
1314 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1315 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1315 | 1316 |
1316 #undef COMMA | 1317 #undef COMMA |
OLD | NEW |