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