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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) | 250 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) |
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 | 261 |
261 // TODO(rmcilroy): Remove ignition-staging and set these implications directly | 262 // TODO(rmcilroy): Remove ignition-staging and set these implications directly |
262 // with the turbo flag. | 263 // with the turbo flag. |
263 DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features") | 264 DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features") |
264 DEFINE_IMPLICATION(ignition_staging, ignition) | 265 DEFINE_IMPLICATION(ignition_staging, ignition) |
265 DEFINE_IMPLICATION(ignition_staging, compiler_dispatcher) | 266 DEFINE_IMPLICATION(ignition_staging, compiler_dispatcher) |
266 DEFINE_IMPLICATION(ignition_staging, validate_asm) | 267 DEFINE_IMPLICATION(ignition_staging, validate_asm) |
267 | 268 |
268 // Flags for experimental implementation features. | 269 // Flags for experimental implementation features. |
269 DEFINE_BOOL(allocation_site_pretenuring, true, | 270 DEFINE_BOOL(allocation_site_pretenuring, true, |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 "expose gc extension under the specified name") | 638 "expose gc extension under the specified name") |
638 DEFINE_IMPLICATION(expose_gc_as, expose_gc) | 639 DEFINE_IMPLICATION(expose_gc_as, expose_gc) |
639 DEFINE_BOOL(expose_externalize_string, false, | 640 DEFINE_BOOL(expose_externalize_string, false, |
640 "expose externalize string extension") | 641 "expose externalize string extension") |
641 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") | 642 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") |
642 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") | 643 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") |
643 DEFINE_BOOL(builtins_in_stack_traces, false, | 644 DEFINE_BOOL(builtins_in_stack_traces, false, |
644 "show built-in functions in stack traces") | 645 "show built-in functions in stack traces") |
645 | 646 |
646 // builtins.cc | 647 // builtins.cc |
| 648 DEFINE_BOOL(enable_fast_array_builtins, false, "use optimized builtins") |
647 DEFINE_BOOL(allow_unsafe_function_constructor, false, | 649 DEFINE_BOOL(allow_unsafe_function_constructor, false, |
648 "allow invoking the function constructor without security checks") | 650 "allow invoking the function constructor without security checks") |
649 | 651 |
650 // builtins-ia32.cc | 652 // builtins-ia32.cc |
651 DEFINE_BOOL(inline_new, true, "use fast inline allocation") | 653 DEFINE_BOOL(inline_new, true, "use fast inline allocation") |
652 | 654 |
653 // codegen-ia32.cc / codegen-arm.cc | 655 // codegen-ia32.cc / codegen-arm.cc |
654 DEFINE_BOOL(trace_codegen, false, | 656 DEFINE_BOOL(trace_codegen, false, |
655 "print name of functions for which code is generated") | 657 "print name of functions for which code is generated") |
656 DEFINE_BOOL(trace, false, "trace function calls") | 658 DEFINE_BOOL(trace, false, "trace function calls") |
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1308 #undef DEFINE_ALIAS_FLOAT | 1310 #undef DEFINE_ALIAS_FLOAT |
1309 #undef DEFINE_ALIAS_ARGS | 1311 #undef DEFINE_ALIAS_ARGS |
1310 | 1312 |
1311 #undef FLAG_MODE_DECLARE | 1313 #undef FLAG_MODE_DECLARE |
1312 #undef FLAG_MODE_DEFINE | 1314 #undef FLAG_MODE_DEFINE |
1313 #undef FLAG_MODE_DEFINE_DEFAULTS | 1315 #undef FLAG_MODE_DEFINE_DEFAULTS |
1314 #undef FLAG_MODE_META | 1316 #undef FLAG_MODE_META |
1315 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1317 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1316 | 1318 |
1317 #undef COMMA | 1319 #undef COMMA |
OLD | NEW |