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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
545 "expose gc extension under the specified name") | 545 "expose gc extension under the specified name") |
546 DEFINE_IMPLICATION(expose_gc_as, expose_gc) | 546 DEFINE_IMPLICATION(expose_gc_as, expose_gc) |
547 DEFINE_BOOL(expose_externalize_string, false, | 547 DEFINE_BOOL(expose_externalize_string, false, |
548 "expose externalize string extension") | 548 "expose externalize string extension") |
549 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") | 549 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") |
550 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") | 550 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") |
551 DEFINE_BOOL(builtins_in_stack_traces, false, | 551 DEFINE_BOOL(builtins_in_stack_traces, false, |
552 "show built-in functions in stack traces") | 552 "show built-in functions in stack traces") |
553 DEFINE_BOOL(disable_native_files, false, "disable builtin natives files") | 553 DEFINE_BOOL(disable_native_files, false, "disable builtin natives files") |
554 | 554 |
555 // debugger | |
556 DEFINE_BOOL(debug_eval_readonly_locals, true, | |
Michael Starzinger
2015/12/14 12:11:23
nit/suggestion: There already is a section for "de
| |
557 "do not update locals after debug-evaluate") | |
558 | |
555 // builtins-ia32.cc | 559 // builtins-ia32.cc |
556 DEFINE_BOOL(inline_new, true, "use fast inline allocation") | 560 DEFINE_BOOL(inline_new, true, "use fast inline allocation") |
557 | 561 |
558 // codegen-ia32.cc / codegen-arm.cc | 562 // codegen-ia32.cc / codegen-arm.cc |
559 DEFINE_BOOL(trace_codegen, false, | 563 DEFINE_BOOL(trace_codegen, false, |
560 "print name of functions for which code is generated") | 564 "print name of functions for which code is generated") |
561 DEFINE_BOOL(trace, false, "trace function calls") | 565 DEFINE_BOOL(trace, false, "trace function calls") |
562 DEFINE_BOOL(mask_constants_with_cookie, true, | 566 DEFINE_BOOL(mask_constants_with_cookie, true, |
563 "use random jit cookie to mask large constants") | 567 "use random jit cookie to mask large constants") |
564 | 568 |
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1124 #undef DEFINE_ALIAS_FLOAT | 1128 #undef DEFINE_ALIAS_FLOAT |
1125 #undef DEFINE_ALIAS_ARGS | 1129 #undef DEFINE_ALIAS_ARGS |
1126 | 1130 |
1127 #undef FLAG_MODE_DECLARE | 1131 #undef FLAG_MODE_DECLARE |
1128 #undef FLAG_MODE_DEFINE | 1132 #undef FLAG_MODE_DEFINE |
1129 #undef FLAG_MODE_DEFINE_DEFAULTS | 1133 #undef FLAG_MODE_DEFINE_DEFAULTS |
1130 #undef FLAG_MODE_META | 1134 #undef FLAG_MODE_META |
1131 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1135 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1132 | 1136 |
1133 #undef COMMA | 1137 #undef COMMA |
OLD | NEW |