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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 DEFINE_IMPLICATION(expose_gc_as, expose_gc) | 765 DEFINE_IMPLICATION(expose_gc_as, expose_gc) |
766 DEFINE_BOOL(expose_externalize_string, false, | 766 DEFINE_BOOL(expose_externalize_string, false, |
767 "expose externalize string extension") | 767 "expose externalize string extension") |
768 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") | 768 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") |
769 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") |
770 DEFINE_BOOL(builtins_in_stack_traces, false, | 770 DEFINE_BOOL(builtins_in_stack_traces, false, |
771 "show built-in functions in stack traces") | 771 "show built-in functions in stack traces") |
772 | 772 |
773 // builtins.cc | 773 // builtins.cc |
774 DEFINE_BOOL(enable_fast_array_builtins, false, "use optimized builtins") | 774 DEFINE_BOOL(enable_fast_array_builtins, false, "use optimized builtins") |
| 775 DEFINE_BOOL(experimental_array_builtins, false, |
| 776 "Experimental versions of array builtins") |
775 DEFINE_BOOL(allow_unsafe_function_constructor, false, | 777 DEFINE_BOOL(allow_unsafe_function_constructor, false, |
776 "allow invoking the function constructor without security checks") | 778 "allow invoking the function constructor without security checks") |
777 | 779 |
778 // builtins-ia32.cc | 780 // builtins-ia32.cc |
779 DEFINE_BOOL(inline_new, true, "use fast inline allocation") | 781 DEFINE_BOOL(inline_new, true, "use fast inline allocation") |
780 | 782 |
781 // codegen-ia32.cc / codegen-arm.cc | 783 // codegen-ia32.cc / codegen-arm.cc |
782 DEFINE_BOOL(trace_codegen, false, | 784 DEFINE_BOOL(trace_codegen, false, |
783 "print name of functions for which code is generated") | 785 "print name of functions for which code is generated") |
784 DEFINE_BOOL(trace, false, "trace function calls") | 786 DEFINE_BOOL(trace, false, "trace function calls") |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1330 #undef DEFINE_ALIAS_FLOAT | 1332 #undef DEFINE_ALIAS_FLOAT |
1331 #undef DEFINE_ALIAS_ARGS | 1333 #undef DEFINE_ALIAS_ARGS |
1332 | 1334 |
1333 #undef FLAG_MODE_DECLARE | 1335 #undef FLAG_MODE_DECLARE |
1334 #undef FLAG_MODE_DEFINE | 1336 #undef FLAG_MODE_DEFINE |
1335 #undef FLAG_MODE_DEFINE_DEFAULTS | 1337 #undef FLAG_MODE_DEFINE_DEFAULTS |
1336 #undef FLAG_MODE_META | 1338 #undef FLAG_MODE_META |
1337 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1339 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1338 | 1340 |
1339 #undef COMMA | 1341 #undef COMMA |
OLD | NEW |