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