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 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 "expose gc extension under the specified name") | 580 "expose gc extension under the specified name") |
581 DEFINE_IMPLICATION(expose_gc_as, expose_gc) | 581 DEFINE_IMPLICATION(expose_gc_as, expose_gc) |
582 DEFINE_BOOL(expose_externalize_string, false, | 582 DEFINE_BOOL(expose_externalize_string, false, |
583 "expose externalize string extension") | 583 "expose externalize string extension") |
584 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") | 584 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") |
585 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") | 585 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") |
586 DEFINE_BOOL(builtins_in_stack_traces, false, | 586 DEFINE_BOOL(builtins_in_stack_traces, false, |
587 "show built-in functions in stack traces") | 587 "show built-in functions in stack traces") |
588 DEFINE_BOOL(disable_native_files, false, "disable builtin natives files") | 588 DEFINE_BOOL(disable_native_files, false, "disable builtin natives files") |
589 | 589 |
| 590 // builtins.cc |
| 591 DEFINE_BOOL(allow_unsafe_function_constructor, false, |
| 592 "allow invoking the function constructor without security checks") |
| 593 |
590 // builtins-ia32.cc | 594 // builtins-ia32.cc |
591 DEFINE_BOOL(inline_new, true, "use fast inline allocation") | 595 DEFINE_BOOL(inline_new, true, "use fast inline allocation") |
592 | 596 |
593 // codegen-ia32.cc / codegen-arm.cc | 597 // codegen-ia32.cc / codegen-arm.cc |
594 DEFINE_BOOL(trace_codegen, false, | 598 DEFINE_BOOL(trace_codegen, false, |
595 "print name of functions for which code is generated") | 599 "print name of functions for which code is generated") |
596 DEFINE_BOOL(trace, false, "trace function calls") | 600 DEFINE_BOOL(trace, false, "trace function calls") |
597 DEFINE_BOOL(mask_constants_with_cookie, true, | 601 DEFINE_BOOL(mask_constants_with_cookie, true, |
598 "use random jit cookie to mask large constants") | 602 "use random jit cookie to mask large constants") |
599 | 603 |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1192 #undef DEFINE_ALIAS_FLOAT | 1196 #undef DEFINE_ALIAS_FLOAT |
1193 #undef DEFINE_ALIAS_ARGS | 1197 #undef DEFINE_ALIAS_ARGS |
1194 | 1198 |
1195 #undef FLAG_MODE_DECLARE | 1199 #undef FLAG_MODE_DECLARE |
1196 #undef FLAG_MODE_DEFINE | 1200 #undef FLAG_MODE_DEFINE |
1197 #undef FLAG_MODE_DEFINE_DEFAULTS | 1201 #undef FLAG_MODE_DEFINE_DEFAULTS |
1198 #undef FLAG_MODE_META | 1202 #undef FLAG_MODE_META |
1199 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1203 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1200 | 1204 |
1201 #undef COMMA | 1205 #undef COMMA |
OLD | NEW |