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 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 | 861 |
862 DEFINE_BOOL(manual_evacuation_candidates_selection, false, | 862 DEFINE_BOOL(manual_evacuation_candidates_selection, false, |
863 "Test mode only flag. It allows an unit test to select evacuation " | 863 "Test mode only flag. It allows an unit test to select evacuation " |
864 "candidates pages (requires --stress_compaction).") | 864 "candidates pages (requires --stress_compaction).") |
865 | 865 |
866 // api.cc | 866 // api.cc |
867 DEFINE_INT(external_allocation_limit_incremental_time, 1, | 867 DEFINE_INT(external_allocation_limit_incremental_time, 1, |
868 "Time spent in incremental marking steps (in ms) once the external " | 868 "Time spent in incremental marking steps (in ms) once the external " |
869 "allocation limit is reached") | 869 "allocation limit is reached") |
870 | 870 |
| 871 DEFINE_BOOL(disable_old_api_accessors, false, |
| 872 "Disable old-style API accessors whose setters trigger through the " |
| 873 "prototype chain") |
| 874 |
871 // | 875 // |
872 // Dev shell flags | 876 // Dev shell flags |
873 // | 877 // |
874 | 878 |
875 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") | 879 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") |
876 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") | 880 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") |
877 | 881 |
878 DEFINE_STRING(map_counters, "", "Map counters to a file") | 882 DEFINE_STRING(map_counters, "", "Map counters to a file") |
879 DEFINE_ARGS(js_arguments, | 883 DEFINE_ARGS(js_arguments, |
880 "Pass all remaining arguments to the script. Alias for \"--\".") | 884 "Pass all remaining arguments to the script. Alias for \"--\".") |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1140 #undef DEFINE_ALIAS_FLOAT | 1144 #undef DEFINE_ALIAS_FLOAT |
1141 #undef DEFINE_ALIAS_ARGS | 1145 #undef DEFINE_ALIAS_ARGS |
1142 | 1146 |
1143 #undef FLAG_MODE_DECLARE | 1147 #undef FLAG_MODE_DECLARE |
1144 #undef FLAG_MODE_DEFINE | 1148 #undef FLAG_MODE_DEFINE |
1145 #undef FLAG_MODE_DEFINE_DEFAULTS | 1149 #undef FLAG_MODE_DEFINE_DEFAULTS |
1146 #undef FLAG_MODE_META | 1150 #undef FLAG_MODE_META |
1147 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1151 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1148 | 1152 |
1149 #undef COMMA | 1153 #undef COMMA |
OLD | NEW |