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 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
795 "expose gc extension under the specified name") | 795 "expose gc extension under the specified name") |
796 DEFINE_IMPLICATION(expose_gc_as, expose_gc) | 796 DEFINE_IMPLICATION(expose_gc_as, expose_gc) |
797 DEFINE_BOOL(expose_externalize_string, false, | 797 DEFINE_BOOL(expose_externalize_string, false, |
798 "expose externalize string extension") | 798 "expose externalize string extension") |
799 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") | 799 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") |
800 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") | 800 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") |
801 DEFINE_BOOL(builtins_in_stack_traces, false, | 801 DEFINE_BOOL(builtins_in_stack_traces, false, |
802 "show built-in functions in stack traces") | 802 "show built-in functions in stack traces") |
803 | 803 |
804 // builtins.cc | 804 // builtins.cc |
805 DEFINE_BOOL(inline_array_builtins, true, | |
Michael Starzinger
2017/05/24 13:54:59
nit: Actually a TurboFan flag. Can we name this FL
danno
2017/06/06 12:04:53
Done.
| |
806 "inline array builtins in TurboFan code") | |
805 DEFINE_BOOL(allow_unsafe_function_constructor, false, | 807 DEFINE_BOOL(allow_unsafe_function_constructor, false, |
806 "allow invoking the function constructor without security checks") | 808 "allow invoking the function constructor without security checks") |
807 | 809 |
808 // builtins-ia32.cc | 810 // builtins-ia32.cc |
809 DEFINE_BOOL(inline_new, true, "use fast inline allocation") | 811 DEFINE_BOOL(inline_new, true, "use fast inline allocation") |
810 | 812 |
811 // codegen-ia32.cc / codegen-arm.cc | 813 // codegen-ia32.cc / codegen-arm.cc |
812 DEFINE_BOOL(trace_codegen, false, | 814 DEFINE_BOOL(trace_codegen, false, |
813 "print name of functions for which code is generated") | 815 "print name of functions for which code is generated") |
814 DEFINE_BOOL(trace, false, "trace function calls") | 816 DEFINE_BOOL(trace, false, "trace function calls") |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1364 #undef DEFINE_ALIAS_FLOAT | 1366 #undef DEFINE_ALIAS_FLOAT |
1365 #undef DEFINE_ALIAS_ARGS | 1367 #undef DEFINE_ALIAS_ARGS |
1366 | 1368 |
1367 #undef FLAG_MODE_DECLARE | 1369 #undef FLAG_MODE_DECLARE |
1368 #undef FLAG_MODE_DEFINE | 1370 #undef FLAG_MODE_DEFINE |
1369 #undef FLAG_MODE_DEFINE_DEFAULTS | 1371 #undef FLAG_MODE_DEFINE_DEFAULTS |
1370 #undef FLAG_MODE_META | 1372 #undef FLAG_MODE_META |
1371 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1373 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1372 | 1374 |
1373 #undef COMMA | 1375 #undef COMMA |
OLD | NEW |