| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 | 214 |
| 215 #ifdef V8_I18N_SUPPORT | 215 #ifdef V8_I18N_SUPPORT |
| 216 #define HARMONY_STAGED(V) \ | 216 #define HARMONY_STAGED(V) \ |
| 217 HARMONY_STAGED_BASE(V) \ | 217 HARMONY_STAGED_BASE(V) \ |
| 218 V(icu_case_mapping, "case mapping with ICU rather than Unibrow") | 218 V(icu_case_mapping, "case mapping with ICU rather than Unibrow") |
| 219 #else | 219 #else |
| 220 #define HARMONY_STAGED(V) HARMONY_STAGED_BASE(V) | 220 #define HARMONY_STAGED(V) HARMONY_STAGED_BASE(V) |
| 221 #endif | 221 #endif |
| 222 | 222 |
| 223 // Features that are shipping (turned on by default, but internal flag remains). | 223 // Features that are shipping (turned on by default, but internal flag remains). |
| 224 #define HARMONY_SHIPPING_BASE(V) \ | 224 #define HARMONY_SHIPPING_BASE(V) V(harmony_async_await, "harmony async-await") |
| 225 V(harmony_async_await, "harmony async-await") \ | |
| 226 V(harmony_string_padding, "harmony String-padding methods") | |
| 227 | 225 |
| 228 #ifdef V8_I18N_SUPPORT | 226 #ifdef V8_I18N_SUPPORT |
| 229 #define HARMONY_SHIPPING(V) \ | 227 #define HARMONY_SHIPPING(V) \ |
| 230 HARMONY_SHIPPING_BASE(V) \ | 228 HARMONY_SHIPPING_BASE(V) \ |
| 231 V(datetime_format_to_parts, "Intl.DateTimeFormat.formatToParts") | 229 V(datetime_format_to_parts, "Intl.DateTimeFormat.formatToParts") |
| 232 #else | 230 #else |
| 233 #define HARMONY_SHIPPING(V) HARMONY_SHIPPING_BASE(V) | 231 #define HARMONY_SHIPPING(V) HARMONY_SHIPPING_BASE(V) |
| 234 #endif | 232 #endif |
| 235 | 233 |
| 236 // Once a shipping feature has proved stable in the wild, it will be dropped | 234 // Once a shipping feature has proved stable in the wild, it will be dropped |
| (...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1275 #undef DEFINE_ALIAS_FLOAT | 1273 #undef DEFINE_ALIAS_FLOAT |
| 1276 #undef DEFINE_ALIAS_ARGS | 1274 #undef DEFINE_ALIAS_ARGS |
| 1277 | 1275 |
| 1278 #undef FLAG_MODE_DECLARE | 1276 #undef FLAG_MODE_DECLARE |
| 1279 #undef FLAG_MODE_DEFINE | 1277 #undef FLAG_MODE_DEFINE |
| 1280 #undef FLAG_MODE_DEFINE_DEFAULTS | 1278 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1281 #undef FLAG_MODE_META | 1279 #undef FLAG_MODE_META |
| 1282 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1280 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1283 | 1281 |
| 1284 #undef COMMA | 1282 #undef COMMA |
| OLD | NEW |