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