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 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) | 251 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) |
252 #undef FLAG_SHIPPING_FEATURES | 252 #undef FLAG_SHIPPING_FEATURES |
253 | 253 |
254 DEFINE_BOOL(future, false, | 254 DEFINE_BOOL(future, false, |
255 "Implies all staged features that we want to ship in the " | 255 "Implies all staged features that we want to ship in the " |
256 "not-too-far future") | 256 "not-too-far future") |
257 DEFINE_IMPLICATION(future, turbo) | 257 DEFINE_IMPLICATION(future, turbo) |
258 | 258 |
259 DEFINE_IMPLICATION(turbo, ignition_staging) | 259 DEFINE_IMPLICATION(turbo, ignition_staging) |
260 DEFINE_IMPLICATION(turbo, enable_fast_array_builtins) | 260 DEFINE_IMPLICATION(turbo, enable_fast_array_builtins) |
| 261 DEFINE_IMPLICATION(turbo, thin_strings) |
261 | 262 |
262 // TODO(rmcilroy): Remove ignition-staging and set these implications directly | 263 // TODO(rmcilroy): Remove ignition-staging and set these implications directly |
263 // with the turbo flag. | 264 // with the turbo flag. |
264 DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features") | 265 DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features") |
265 DEFINE_IMPLICATION(ignition_staging, ignition) | 266 DEFINE_IMPLICATION(ignition_staging, ignition) |
266 DEFINE_IMPLICATION(ignition_staging, compiler_dispatcher) | 267 DEFINE_IMPLICATION(ignition_staging, compiler_dispatcher) |
267 DEFINE_IMPLICATION(ignition_staging, validate_asm) | 268 DEFINE_IMPLICATION(ignition_staging, validate_asm) |
268 | 269 |
269 // Flags for experimental implementation features. | 270 // Flags for experimental implementation features. |
270 DEFINE_BOOL(allocation_site_pretenuring, true, | 271 DEFINE_BOOL(allocation_site_pretenuring, true, |
(...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1308 #undef DEFINE_ALIAS_FLOAT | 1309 #undef DEFINE_ALIAS_FLOAT |
1309 #undef DEFINE_ALIAS_ARGS | 1310 #undef DEFINE_ALIAS_ARGS |
1310 | 1311 |
1311 #undef FLAG_MODE_DECLARE | 1312 #undef FLAG_MODE_DECLARE |
1312 #undef FLAG_MODE_DEFINE | 1313 #undef FLAG_MODE_DEFINE |
1313 #undef FLAG_MODE_DEFINE_DEFAULTS | 1314 #undef FLAG_MODE_DEFINE_DEFAULTS |
1314 #undef FLAG_MODE_META | 1315 #undef FLAG_MODE_META |
1315 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1316 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1316 | 1317 |
1317 #undef COMMA | 1318 #undef COMMA |
OLD | NEW |