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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 DEFINE_IMPLICATION(harmony, id) | 251 DEFINE_IMPLICATION(harmony, id) |
252 HARMONY_STAGED(FLAG_STAGED_FEATURES) | 252 HARMONY_STAGED(FLAG_STAGED_FEATURES) |
253 #undef FLAG_STAGED_FEATURES | 253 #undef FLAG_STAGED_FEATURES |
254 | 254 |
255 #define FLAG_SHIPPING_FEATURES(id, description) \ | 255 #define FLAG_SHIPPING_FEATURES(id, description) \ |
256 DEFINE_BOOL(id, true, "enable " #description) \ | 256 DEFINE_BOOL(id, true, "enable " #description) \ |
257 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) | 257 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) |
258 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) | 258 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) |
259 #undef FLAG_SHIPPING_FEATURES | 259 #undef FLAG_SHIPPING_FEATURES |
260 | 260 |
| 261 #ifdef V8_I18N_SUPPORT |
| 262 DEFINE_BOOL(icu_timezone_data, false, |
| 263 "get information about timezones from ICU") |
| 264 #endif |
| 265 |
261 #ifdef V8_ENABLE_FUTURE | 266 #ifdef V8_ENABLE_FUTURE |
262 #define FUTURE_BOOL true | 267 #define FUTURE_BOOL true |
263 #else | 268 #else |
264 #define FUTURE_BOOL false | 269 #define FUTURE_BOOL false |
265 #endif | 270 #endif |
266 DEFINE_BOOL(future, FUTURE_BOOL, | 271 DEFINE_BOOL(future, FUTURE_BOOL, |
267 "Implies all staged features that we want to ship in the " | 272 "Implies all staged features that we want to ship in the " |
268 "not-too-far future") | 273 "not-too-far future") |
269 DEFINE_IMPLICATION(future, turbo) | 274 DEFINE_IMPLICATION(future, turbo) |
270 | 275 |
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1328 #undef DEFINE_ALIAS_FLOAT | 1333 #undef DEFINE_ALIAS_FLOAT |
1329 #undef DEFINE_ALIAS_ARGS | 1334 #undef DEFINE_ALIAS_ARGS |
1330 | 1335 |
1331 #undef FLAG_MODE_DECLARE | 1336 #undef FLAG_MODE_DECLARE |
1332 #undef FLAG_MODE_DEFINE | 1337 #undef FLAG_MODE_DEFINE |
1333 #undef FLAG_MODE_DEFINE_DEFAULTS | 1338 #undef FLAG_MODE_DEFINE_DEFAULTS |
1334 #undef FLAG_MODE_META | 1339 #undef FLAG_MODE_META |
1335 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1340 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1336 | 1341 |
1337 #undef COMMA | 1342 #undef COMMA |
OLD | NEW |