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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 DEFINE_BOOL(harmony_strings, false, "enable harmony string") | 164 DEFINE_BOOL(harmony_strings, false, "enable harmony string") |
165 DEFINE_BOOL(harmony_arrays, false, "enable harmony arrays") | 165 DEFINE_BOOL(harmony_arrays, false, "enable harmony arrays") |
166 DEFINE_BOOL(harmony_arrow_functions, false, "enable harmony arrow functions") | 166 DEFINE_BOOL(harmony_arrow_functions, false, "enable harmony arrow functions") |
167 DEFINE_BOOL(harmony, false, "enable all harmony features") | 167 DEFINE_BOOL(harmony, false, "enable all harmony features") |
168 | 168 |
169 DEFINE_IMPLICATION(harmony, harmony_scoping) | 169 DEFINE_IMPLICATION(harmony, harmony_scoping) |
170 DEFINE_IMPLICATION(harmony, harmony_modules) | 170 DEFINE_IMPLICATION(harmony, harmony_modules) |
171 DEFINE_IMPLICATION(harmony, harmony_proxies) | 171 DEFINE_IMPLICATION(harmony, harmony_proxies) |
172 DEFINE_IMPLICATION(harmony, harmony_collections) | 172 DEFINE_IMPLICATION(harmony, harmony_collections) |
173 DEFINE_IMPLICATION(harmony, harmony_generators) | 173 DEFINE_IMPLICATION(harmony, harmony_generators) |
174 DEFINE_IMPLICATION(harmony, harmony_iteration) | |
175 DEFINE_IMPLICATION(harmony, harmony_numeric_literals) | 174 DEFINE_IMPLICATION(harmony, harmony_numeric_literals) |
176 DEFINE_IMPLICATION(harmony, harmony_strings) | 175 DEFINE_IMPLICATION(harmony, harmony_strings) |
177 DEFINE_IMPLICATION(harmony, harmony_arrays) | 176 DEFINE_IMPLICATION(harmony, harmony_arrays) |
178 DEFINE_IMPLICATION(harmony, harmony_arrow_functions) | 177 DEFINE_IMPLICATION(harmony, harmony_arrow_functions) |
179 DEFINE_IMPLICATION(harmony_modules, harmony_scoping) | 178 DEFINE_IMPLICATION(harmony_modules, harmony_scoping) |
180 DEFINE_IMPLICATION(harmony_collections, harmony_symbols) | 179 DEFINE_IMPLICATION(harmony_collections, harmony_symbols) |
181 DEFINE_IMPLICATION(harmony_generators, harmony_symbols) | 180 DEFINE_IMPLICATION(harmony_generators, harmony_symbols) |
182 DEFINE_IMPLICATION(harmony_iteration, harmony_symbols) | 181 DEFINE_IMPLICATION(harmony_iteration, harmony_symbols) |
183 | 182 |
184 DEFINE_IMPLICATION(harmony, es_staging) | 183 DEFINE_IMPLICATION(harmony, es_staging) |
185 DEFINE_IMPLICATION(es_staging, harmony_symbols) | 184 DEFINE_IMPLICATION(es_staging, harmony_symbols) |
186 DEFINE_IMPLICATION(es_staging, harmony_collections) | 185 DEFINE_IMPLICATION(es_staging, harmony_collections) |
| 186 DEFINE_IMPLICATION(es_staging, harmony_iteration) |
187 | 187 |
188 // Flags for experimental implementation features. | 188 // Flags for experimental implementation features. |
189 DEFINE_BOOL(compiled_keyed_dictionary_loads, true, | 189 DEFINE_BOOL(compiled_keyed_dictionary_loads, true, |
190 "use optimizing compiler to generate keyed dictionary load stubs") | 190 "use optimizing compiler to generate keyed dictionary load stubs") |
191 DEFINE_BOOL(compiled_keyed_generic_loads, false, | 191 DEFINE_BOOL(compiled_keyed_generic_loads, false, |
192 "use optimizing compiler to generate keyed generic load stubs") | 192 "use optimizing compiler to generate keyed generic load stubs") |
193 DEFINE_BOOL(clever_optimizations, true, | 193 DEFINE_BOOL(clever_optimizations, true, |
194 "Optimize object size, Array shift, DOM strings and string +") | 194 "Optimize object size, Array shift, DOM strings and string +") |
195 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 195 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
196 // support for specific allocation sites. | 196 // support for specific allocation sites. |
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
914 #undef DEFINE_ALIAS_FLOAT | 914 #undef DEFINE_ALIAS_FLOAT |
915 #undef DEFINE_ALIAS_ARGS | 915 #undef DEFINE_ALIAS_ARGS |
916 | 916 |
917 #undef FLAG_MODE_DECLARE | 917 #undef FLAG_MODE_DECLARE |
918 #undef FLAG_MODE_DEFINE | 918 #undef FLAG_MODE_DEFINE |
919 #undef FLAG_MODE_DEFINE_DEFAULTS | 919 #undef FLAG_MODE_DEFINE_DEFAULTS |
920 #undef FLAG_MODE_META | 920 #undef FLAG_MODE_META |
921 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 921 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
922 | 922 |
923 #undef COMMA | 923 #undef COMMA |
OLD | NEW |