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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 #define FUTURE_BOOL true | 262 #define FUTURE_BOOL true |
263 #else | 263 #else |
264 #define FUTURE_BOOL false | 264 #define FUTURE_BOOL false |
265 #endif | 265 #endif |
266 DEFINE_BOOL(future, FUTURE_BOOL, | 266 DEFINE_BOOL(future, FUTURE_BOOL, |
267 "Implies all staged features that we want to ship in the " | 267 "Implies all staged features that we want to ship in the " |
268 "not-too-far future") | 268 "not-too-far future") |
269 DEFINE_IMPLICATION(future, turbo) | 269 DEFINE_IMPLICATION(future, turbo) |
270 | 270 |
271 DEFINE_DUAL_IMPLICATION(turbo, ignition) | 271 DEFINE_DUAL_IMPLICATION(turbo, ignition) |
272 DEFINE_DUAL_IMPLICATION(turbo, enable_fast_array_builtins) | |
273 DEFINE_DUAL_IMPLICATION(turbo, thin_strings) | 272 DEFINE_DUAL_IMPLICATION(turbo, thin_strings) |
274 | 273 |
275 // Flags for experimental implementation features. | 274 // Flags for experimental implementation features. |
276 DEFINE_BOOL(allocation_site_pretenuring, true, | 275 DEFINE_BOOL(allocation_site_pretenuring, true, |
277 "pretenure with allocation sites") | 276 "pretenure with allocation sites") |
278 DEFINE_BOOL(mark_shared_functions_for_tier_up, true, | 277 DEFINE_BOOL(mark_shared_functions_for_tier_up, true, |
279 "mark shared functions for tier up") | 278 "mark shared functions for tier up") |
280 DEFINE_BOOL(mark_optimizing_shared_functions, true, | 279 DEFINE_BOOL(mark_optimizing_shared_functions, true, |
281 "mark shared functions if they are concurrently optimizing") | 280 "mark shared functions if they are concurrently optimizing") |
282 DEFINE_BOOL(page_promotion, true, "promote pages based on utilization") | 281 DEFINE_BOOL(page_promotion, true, "promote pages based on utilization") |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 "expose gc extension under the specified name") | 764 "expose gc extension under the specified name") |
766 DEFINE_IMPLICATION(expose_gc_as, expose_gc) | 765 DEFINE_IMPLICATION(expose_gc_as, expose_gc) |
767 DEFINE_BOOL(expose_externalize_string, false, | 766 DEFINE_BOOL(expose_externalize_string, false, |
768 "expose externalize string extension") | 767 "expose externalize string extension") |
769 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") | 768 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") |
770 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") | 769 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") |
771 DEFINE_BOOL(builtins_in_stack_traces, false, | 770 DEFINE_BOOL(builtins_in_stack_traces, false, |
772 "show built-in functions in stack traces") | 771 "show built-in functions in stack traces") |
773 | 772 |
774 // builtins.cc | 773 // builtins.cc |
775 DEFINE_BOOL(enable_fast_array_builtins, false, "use optimized builtins") | 774 DEFINE_BOOL(experimental_fast_array_builtins, false, |
776 DEFINE_BOOL(experimental_array_builtins, false, | 775 "use experimental array builtins") |
777 "Experimental versions of array builtins") | |
778 DEFINE_BOOL(allow_unsafe_function_constructor, false, | 776 DEFINE_BOOL(allow_unsafe_function_constructor, false, |
779 "allow invoking the function constructor without security checks") | 777 "allow invoking the function constructor without security checks") |
780 | 778 |
781 // builtins-ia32.cc | 779 // builtins-ia32.cc |
782 DEFINE_BOOL(inline_new, true, "use fast inline allocation") | 780 DEFINE_BOOL(inline_new, true, "use fast inline allocation") |
783 | 781 |
784 // codegen-ia32.cc / codegen-arm.cc | 782 // codegen-ia32.cc / codegen-arm.cc |
785 DEFINE_BOOL(trace_codegen, false, | 783 DEFINE_BOOL(trace_codegen, false, |
786 "print name of functions for which code is generated") | 784 "print name of functions for which code is generated") |
787 DEFINE_BOOL(trace, false, "trace function calls") | 785 DEFINE_BOOL(trace, false, "trace function calls") |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1333 #undef DEFINE_ALIAS_FLOAT | 1331 #undef DEFINE_ALIAS_FLOAT |
1334 #undef DEFINE_ALIAS_ARGS | 1332 #undef DEFINE_ALIAS_ARGS |
1335 | 1333 |
1336 #undef FLAG_MODE_DECLARE | 1334 #undef FLAG_MODE_DECLARE |
1337 #undef FLAG_MODE_DEFINE | 1335 #undef FLAG_MODE_DEFINE |
1338 #undef FLAG_MODE_DEFINE_DEFAULTS | 1336 #undef FLAG_MODE_DEFINE_DEFAULTS |
1339 #undef FLAG_MODE_META | 1337 #undef FLAG_MODE_META |
1340 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1338 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1341 | 1339 |
1342 #undef COMMA | 1340 #undef COMMA |
OLD | NEW |