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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
686 DEFINE_BOOL(trace_external_array_abuse, false, | 686 DEFINE_BOOL(trace_external_array_abuse, false, |
687 "trace out-of-bounds-accesses to external arrays") | 687 "trace out-of-bounds-accesses to external arrays") |
688 DEFINE_BOOL(trace_array_abuse, false, | 688 DEFINE_BOOL(trace_array_abuse, false, |
689 "trace out-of-bounds accesses to all arrays") | 689 "trace out-of-bounds accesses to all arrays") |
690 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) | 690 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) |
691 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) | 691 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) |
692 | 692 |
693 // debugger | 693 // debugger |
694 DEFINE_BOOL(trace_debug_json, false, "trace debugging JSON request/response") | 694 DEFINE_BOOL(trace_debug_json, false, "trace debugging JSON request/response") |
695 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") | 695 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") |
696 DEFINE_BOOL(side_effect_free_debug_evaluate, false, | |
ofrobots
2017/01/10 17:23:13
A flag is fine for the prototype, but eventually w
| |
697 "use side-effect-free debug-evaluate for testing") | |
698 DEFINE_BOOL( | |
699 trace_side_effect_free_debug_evaluate, false, | |
700 "print debug messages for side-effect-free debug-evaluate for testing") | |
696 DEFINE_BOOL(hard_abort, true, "abort by crashing") | 701 DEFINE_BOOL(hard_abort, true, "abort by crashing") |
697 | 702 |
698 // execution.cc | 703 // execution.cc |
699 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, | 704 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, |
700 "default size of stack region v8 is allowed to use (in kBytes)") | 705 "default size of stack region v8 is allowed to use (in kBytes)") |
701 | 706 |
702 // frames.cc | 707 // frames.cc |
703 DEFINE_INT(max_stack_trace_source_length, 300, | 708 DEFINE_INT(max_stack_trace_source_length, 300, |
704 "maximum length of function source code printed in a stack trace.") | 709 "maximum length of function source code printed in a stack trace.") |
705 | 710 |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1274 #undef DEFINE_ALIAS_FLOAT | 1279 #undef DEFINE_ALIAS_FLOAT |
1275 #undef DEFINE_ALIAS_ARGS | 1280 #undef DEFINE_ALIAS_ARGS |
1276 | 1281 |
1277 #undef FLAG_MODE_DECLARE | 1282 #undef FLAG_MODE_DECLARE |
1278 #undef FLAG_MODE_DEFINE | 1283 #undef FLAG_MODE_DEFINE |
1279 #undef FLAG_MODE_DEFINE_DEFAULTS | 1284 #undef FLAG_MODE_DEFINE_DEFAULTS |
1280 #undef FLAG_MODE_META | 1285 #undef FLAG_MODE_META |
1281 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1286 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1282 | 1287 |
1283 #undef COMMA | 1288 #undef COMMA |
OLD | NEW |