| 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 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 | 865 |
| 866 DEFINE_BOOL(stress_compaction, false, | 866 DEFINE_BOOL(stress_compaction, false, |
| 867 "stress the GC compactor to flush out bugs (implies " | 867 "stress the GC compactor to flush out bugs (implies " |
| 868 "--force_marking_deque_overflows)") | 868 "--force_marking_deque_overflows)") |
| 869 | 869 |
| 870 DEFINE_BOOL(manual_evacuation_candidates_selection, false, | 870 DEFINE_BOOL(manual_evacuation_candidates_selection, false, |
| 871 "Test mode only flag. It allows an unit test to select evacuation " | 871 "Test mode only flag. It allows an unit test to select evacuation " |
| 872 "candidates pages (requires --stress_compaction).") | 872 "candidates pages (requires --stress_compaction).") |
| 873 | 873 |
| 874 // api.cc | 874 // api.cc |
| 875 DEFINE_BOOL(new_api_accessors, true, |
| 876 "install native data accessors directly on object") |
| 875 DEFINE_INT(external_allocation_limit_incremental_time, 1, | 877 DEFINE_INT(external_allocation_limit_incremental_time, 1, |
| 876 "Time spent in incremental marking steps (in ms) once the external " | 878 "Time spent in incremental marking steps (in ms) once the external " |
| 877 "allocation limit is reached") | 879 "allocation limit is reached") |
| 878 | 880 |
| 879 DEFINE_BOOL(disable_old_api_accessors, false, | 881 DEFINE_BOOL(disable_old_api_accessors, false, |
| 880 "Disable old-style API accessors whose setters trigger through the " | 882 "Disable old-style API accessors whose setters trigger through the " |
| 881 "prototype chain") | 883 "prototype chain") |
| 882 | 884 |
| 883 // | 885 // |
| 884 // Dev shell flags | 886 // Dev shell flags |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1152 #undef DEFINE_ALIAS_FLOAT | 1154 #undef DEFINE_ALIAS_FLOAT |
| 1153 #undef DEFINE_ALIAS_ARGS | 1155 #undef DEFINE_ALIAS_ARGS |
| 1154 | 1156 |
| 1155 #undef FLAG_MODE_DECLARE | 1157 #undef FLAG_MODE_DECLARE |
| 1156 #undef FLAG_MODE_DEFINE | 1158 #undef FLAG_MODE_DEFINE |
| 1157 #undef FLAG_MODE_DEFINE_DEFAULTS | 1159 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1158 #undef FLAG_MODE_META | 1160 #undef FLAG_MODE_META |
| 1159 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1161 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1160 | 1162 |
| 1161 #undef COMMA | 1163 #undef COMMA |
| OLD | NEW |