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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 | 238 |
239 #define FLAG_SHIPPING_FEATURES(id, description) \ | 239 #define FLAG_SHIPPING_FEATURES(id, description) \ |
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 | 249 |
249 | 250 |
250 // Flags for experimental implementation features. | 251 // Flags for experimental implementation features. |
251 DEFINE_BOOL(compiled_keyed_generic_loads, false, | 252 DEFINE_BOOL(compiled_keyed_generic_loads, false, |
252 "use optimizing compiler to generate keyed generic load stubs") | 253 "use optimizing compiler to generate keyed generic load stubs") |
253 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 254 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
254 // support for specific allocation sites. | 255 // support for specific allocation sites. |
255 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") | 256 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") |
256 DEFINE_BOOL(allocation_site_pretenuring, true, | 257 DEFINE_BOOL(allocation_site_pretenuring, true, |
257 "pretenure with allocation sites") | 258 "pretenure with allocation sites") |
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1103 #undef DEFINE_ALIAS_FLOAT | 1104 #undef DEFINE_ALIAS_FLOAT |
1104 #undef DEFINE_ALIAS_ARGS | 1105 #undef DEFINE_ALIAS_ARGS |
1105 | 1106 |
1106 #undef FLAG_MODE_DECLARE | 1107 #undef FLAG_MODE_DECLARE |
1107 #undef FLAG_MODE_DEFINE | 1108 #undef FLAG_MODE_DEFINE |
1108 #undef FLAG_MODE_DEFINE_DEFAULTS | 1109 #undef FLAG_MODE_DEFINE_DEFAULTS |
1109 #undef FLAG_MODE_META | 1110 #undef FLAG_MODE_META |
1110 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1111 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1111 | 1112 |
1112 #undef COMMA | 1113 #undef COMMA |
OLD | NEW |