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(readonly_debug_evaluate, false, | |
697 "use read-only debug-evaluate for testing") | |
698 DEFINE_BOOL(trace_readonly_debug_evaluate, false, | |
699 "use read-only debug-evaluate for testing") | |
jgruber
2017/01/10 12:46:37
s/use/trace
Yang
2017/01/10 14:14:06
Done.
| |
696 DEFINE_BOOL(hard_abort, true, "abort by crashing") | 700 DEFINE_BOOL(hard_abort, true, "abort by crashing") |
697 | 701 |
698 // execution.cc | 702 // execution.cc |
699 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, | 703 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, |
700 "default size of stack region v8 is allowed to use (in kBytes)") | 704 "default size of stack region v8 is allowed to use (in kBytes)") |
701 | 705 |
702 // frames.cc | 706 // frames.cc |
703 DEFINE_INT(max_stack_trace_source_length, 300, | 707 DEFINE_INT(max_stack_trace_source_length, 300, |
704 "maximum length of function source code printed in a stack trace.") | 708 "maximum length of function source code printed in a stack trace.") |
705 | 709 |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1274 #undef DEFINE_ALIAS_FLOAT | 1278 #undef DEFINE_ALIAS_FLOAT |
1275 #undef DEFINE_ALIAS_ARGS | 1279 #undef DEFINE_ALIAS_ARGS |
1276 | 1280 |
1277 #undef FLAG_MODE_DECLARE | 1281 #undef FLAG_MODE_DECLARE |
1278 #undef FLAG_MODE_DEFINE | 1282 #undef FLAG_MODE_DEFINE |
1279 #undef FLAG_MODE_DEFINE_DEFAULTS | 1283 #undef FLAG_MODE_DEFINE_DEFAULTS |
1280 #undef FLAG_MODE_META | 1284 #undef FLAG_MODE_META |
1281 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1285 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1282 | 1286 |
1283 #undef COMMA | 1287 #undef COMMA |
OLD | NEW |