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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 DEFINE_BOOL(id, true, "enable " #description) \ | 240 DEFINE_BOOL(id, true, "enable " #description) \ |
241 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) | 241 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) |
242 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) | 242 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) |
243 #undef FLAG_SHIPPING_FEATURES | 243 #undef FLAG_SHIPPING_FEATURES |
244 | 244 |
245 | 245 |
246 // Feature dependencies. | 246 // Feature dependencies. |
247 DEFINE_IMPLICATION(harmony_sloppy_let, harmony_sloppy) | 247 DEFINE_IMPLICATION(harmony_sloppy_let, harmony_sloppy) |
248 DEFINE_IMPLICATION(harmony_sloppy_function, harmony_sloppy) | 248 DEFINE_IMPLICATION(harmony_sloppy_function, harmony_sloppy) |
249 | 249 |
| 250 // Destructuring shares too much parsing architecture with default parameters |
| 251 // to be enabled on its own. |
| 252 DEFINE_IMPLICATION(harmony_destructuring, harmony_default_parameters) |
250 | 253 |
251 // Flags for experimental implementation features. | 254 // Flags for experimental implementation features. |
252 DEFINE_BOOL(compiled_keyed_generic_loads, false, | 255 DEFINE_BOOL(compiled_keyed_generic_loads, false, |
253 "use optimizing compiler to generate keyed generic load stubs") | 256 "use optimizing compiler to generate keyed generic load stubs") |
254 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 257 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
255 // support for specific allocation sites. | 258 // support for specific allocation sites. |
256 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") | 259 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") |
257 DEFINE_BOOL(allocation_site_pretenuring, true, | 260 DEFINE_BOOL(allocation_site_pretenuring, true, |
258 "pretenure with allocation sites") | 261 "pretenure with allocation sites") |
259 DEFINE_BOOL(trace_pretenuring, false, | 262 DEFINE_BOOL(trace_pretenuring, false, |
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1104 #undef DEFINE_ALIAS_FLOAT | 1107 #undef DEFINE_ALIAS_FLOAT |
1105 #undef DEFINE_ALIAS_ARGS | 1108 #undef DEFINE_ALIAS_ARGS |
1106 | 1109 |
1107 #undef FLAG_MODE_DECLARE | 1110 #undef FLAG_MODE_DECLARE |
1108 #undef FLAG_MODE_DEFINE | 1111 #undef FLAG_MODE_DEFINE |
1109 #undef FLAG_MODE_DEFINE_DEFAULTS | 1112 #undef FLAG_MODE_DEFINE_DEFAULTS |
1110 #undef FLAG_MODE_META | 1113 #undef FLAG_MODE_META |
1111 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1114 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1112 | 1115 |
1113 #undef COMMA | 1116 #undef COMMA |
OLD | NEW |