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 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 DEFINE_BOOL(trace_external_array_abuse, false, | 714 DEFINE_BOOL(trace_external_array_abuse, false, |
715 "trace out-of-bounds-accesses to external arrays") | 715 "trace out-of-bounds-accesses to external arrays") |
716 DEFINE_BOOL(trace_array_abuse, false, | 716 DEFINE_BOOL(trace_array_abuse, false, |
717 "trace out-of-bounds accesses to all arrays") | 717 "trace out-of-bounds accesses to all arrays") |
718 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) | 718 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) |
719 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) | 719 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) |
720 | 720 |
721 // debugger | 721 // debugger |
722 DEFINE_BOOL(trace_debug_json, false, "trace debugging JSON request/response") | 722 DEFINE_BOOL(trace_debug_json, false, "trace debugging JSON request/response") |
723 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") | 723 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") |
| 724 DEFINE_BOOL(side_effect_free_debug_evaluate, false, |
| 725 "use side-effect-free debug-evaluate for testing") |
724 DEFINE_BOOL( | 726 DEFINE_BOOL( |
725 trace_side_effect_free_debug_evaluate, false, | 727 trace_side_effect_free_debug_evaluate, false, |
726 "print debug messages for side-effect-free debug-evaluate for testing") | 728 "print debug messages for side-effect-free debug-evaluate for testing") |
727 DEFINE_BOOL(hard_abort, true, "abort by crashing") | 729 DEFINE_BOOL(hard_abort, true, "abort by crashing") |
728 | 730 |
729 // execution.cc | 731 // execution.cc |
730 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, | 732 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, |
731 "default size of stack region v8 is allowed to use (in kBytes)") | 733 "default size of stack region v8 is allowed to use (in kBytes)") |
732 | 734 |
733 // frames.cc | 735 // frames.cc |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1309 #undef DEFINE_ALIAS_FLOAT | 1311 #undef DEFINE_ALIAS_FLOAT |
1310 #undef DEFINE_ALIAS_ARGS | 1312 #undef DEFINE_ALIAS_ARGS |
1311 | 1313 |
1312 #undef FLAG_MODE_DECLARE | 1314 #undef FLAG_MODE_DECLARE |
1313 #undef FLAG_MODE_DEFINE | 1315 #undef FLAG_MODE_DEFINE |
1314 #undef FLAG_MODE_DEFINE_DEFAULTS | 1316 #undef FLAG_MODE_DEFINE_DEFAULTS |
1315 #undef FLAG_MODE_META | 1317 #undef FLAG_MODE_META |
1316 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1318 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1317 | 1319 |
1318 #undef COMMA | 1320 #undef COMMA |
OLD | NEW |