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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 DEFINE_IMPLICATION(harmony, id) | 247 DEFINE_IMPLICATION(harmony, id) |
248 HARMONY_STAGED(FLAG_STAGED_FEATURES) | 248 HARMONY_STAGED(FLAG_STAGED_FEATURES) |
249 #undef FLAG_STAGED_FEATURES | 249 #undef FLAG_STAGED_FEATURES |
250 | 250 |
251 #define FLAG_SHIPPING_FEATURES(id, description) \ | 251 #define FLAG_SHIPPING_FEATURES(id, description) \ |
252 DEFINE_BOOL(id, true, "enable " #description) \ | 252 DEFINE_BOOL(id, true, "enable " #description) \ |
253 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) | 253 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) |
254 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) | 254 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) |
255 #undef FLAG_SHIPPING_FEATURES | 255 #undef FLAG_SHIPPING_FEATURES |
256 | 256 |
| 257 #ifdef V8_I18N_SUPPORT |
| 258 DEFINE_BOOL(icu_timezone_data, false, |
| 259 "get information about timezones from ICU") |
| 260 #endif |
| 261 |
257 #ifdef V8_ENABLE_FUTURE | 262 #ifdef V8_ENABLE_FUTURE |
258 #define FUTURE_BOOL true | 263 #define FUTURE_BOOL true |
259 #else | 264 #else |
260 #define FUTURE_BOOL false | 265 #define FUTURE_BOOL false |
261 #endif | 266 #endif |
262 DEFINE_BOOL(future, FUTURE_BOOL, | 267 DEFINE_BOOL(future, FUTURE_BOOL, |
263 "Implies all staged features that we want to ship in the " | 268 "Implies all staged features that we want to ship in the " |
264 "not-too-far future") | 269 "not-too-far future") |
265 DEFINE_IMPLICATION(future, turbo) | 270 DEFINE_IMPLICATION(future, turbo) |
266 | 271 |
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1338 #undef DEFINE_ALIAS_FLOAT | 1343 #undef DEFINE_ALIAS_FLOAT |
1339 #undef DEFINE_ALIAS_ARGS | 1344 #undef DEFINE_ALIAS_ARGS |
1340 | 1345 |
1341 #undef FLAG_MODE_DECLARE | 1346 #undef FLAG_MODE_DECLARE |
1342 #undef FLAG_MODE_DEFINE | 1347 #undef FLAG_MODE_DEFINE |
1343 #undef FLAG_MODE_DEFINE_DEFAULTS | 1348 #undef FLAG_MODE_DEFINE_DEFAULTS |
1344 #undef FLAG_MODE_META | 1349 #undef FLAG_MODE_META |
1345 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1350 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1346 | 1351 |
1347 #undef COMMA | 1352 #undef COMMA |
OLD | NEW |