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 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 DEFINE_BOOL(trace_js_array_abuse, false, | 601 DEFINE_BOOL(trace_js_array_abuse, false, |
602 "trace out-of-bounds accesses to JS arrays") | 602 "trace out-of-bounds accesses to JS arrays") |
603 DEFINE_BOOL(trace_external_array_abuse, false, | 603 DEFINE_BOOL(trace_external_array_abuse, false, |
604 "trace out-of-bounds-accesses to external arrays") | 604 "trace out-of-bounds-accesses to external arrays") |
605 DEFINE_BOOL(trace_array_abuse, false, | 605 DEFINE_BOOL(trace_array_abuse, false, |
606 "trace out-of-bounds accesses to all arrays") | 606 "trace out-of-bounds accesses to all arrays") |
607 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) | 607 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) |
608 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) | 608 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) |
609 | 609 |
610 // debugger | 610 // debugger |
611 DEFINE_BOOL(debug_eval_readonly_locals, true, | |
612 "do not update locals after debug-evaluate") | |
613 DEFINE_BOOL(trace_debug_json, false, "trace debugging JSON request/response") | 611 DEFINE_BOOL(trace_debug_json, false, "trace debugging JSON request/response") |
614 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") | 612 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") |
615 DEFINE_BOOL(hard_abort, true, "abort by crashing") | 613 DEFINE_BOOL(hard_abort, true, "abort by crashing") |
616 | 614 |
617 // execution.cc | 615 // execution.cc |
618 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, | 616 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, |
619 "default size of stack region v8 is allowed to use (in kBytes)") | 617 "default size of stack region v8 is allowed to use (in kBytes)") |
620 | 618 |
621 // frames.cc | 619 // frames.cc |
622 DEFINE_INT(max_stack_trace_source_length, 300, | 620 DEFINE_INT(max_stack_trace_source_length, 300, |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1166 #undef DEFINE_ALIAS_FLOAT | 1164 #undef DEFINE_ALIAS_FLOAT |
1167 #undef DEFINE_ALIAS_ARGS | 1165 #undef DEFINE_ALIAS_ARGS |
1168 | 1166 |
1169 #undef FLAG_MODE_DECLARE | 1167 #undef FLAG_MODE_DECLARE |
1170 #undef FLAG_MODE_DEFINE | 1168 #undef FLAG_MODE_DEFINE |
1171 #undef FLAG_MODE_DEFINE_DEFAULTS | 1169 #undef FLAG_MODE_DEFINE_DEFAULTS |
1172 #undef FLAG_MODE_META | 1170 #undef FLAG_MODE_META |
1173 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1171 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1174 | 1172 |
1175 #undef COMMA | 1173 #undef COMMA |
OLD | NEW |