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 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 DEFINE_BOOL(trace_js_array_abuse, false, | 844 DEFINE_BOOL(trace_js_array_abuse, false, |
845 "trace out-of-bounds accesses to JS arrays") | 845 "trace out-of-bounds accesses to JS arrays") |
846 DEFINE_BOOL(trace_external_array_abuse, false, | 846 DEFINE_BOOL(trace_external_array_abuse, false, |
847 "trace out-of-bounds-accesses to external arrays") | 847 "trace out-of-bounds-accesses to external arrays") |
848 DEFINE_BOOL(trace_array_abuse, false, | 848 DEFINE_BOOL(trace_array_abuse, false, |
849 "trace out-of-bounds accesses to all arrays") | 849 "trace out-of-bounds accesses to all arrays") |
850 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) | 850 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) |
851 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) | 851 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) |
852 | 852 |
853 // debugger | 853 // debugger |
854 DEFINE_BOOL(trace_debug_json, false, "trace debugging JSON request/response") | |
855 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") | 854 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") |
856 DEFINE_BOOL( | 855 DEFINE_BOOL( |
857 trace_side_effect_free_debug_evaluate, false, | 856 trace_side_effect_free_debug_evaluate, false, |
858 "print debug messages for side-effect-free debug-evaluate for testing") | 857 "print debug messages for side-effect-free debug-evaluate for testing") |
859 DEFINE_BOOL(hard_abort, true, "abort by crashing") | 858 DEFINE_BOOL(hard_abort, true, "abort by crashing") |
860 | 859 |
861 // execution.cc | 860 // execution.cc |
862 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, | 861 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, |
863 "default size of stack region v8 is allowed to use (in kBytes)") | 862 "default size of stack region v8 is allowed to use (in kBytes)") |
864 | 863 |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1320 #undef DEFINE_ALIAS_FLOAT | 1319 #undef DEFINE_ALIAS_FLOAT |
1321 #undef DEFINE_ALIAS_ARGS | 1320 #undef DEFINE_ALIAS_ARGS |
1322 | 1321 |
1323 #undef FLAG_MODE_DECLARE | 1322 #undef FLAG_MODE_DECLARE |
1324 #undef FLAG_MODE_DEFINE | 1323 #undef FLAG_MODE_DEFINE |
1325 #undef FLAG_MODE_DEFINE_DEFAULTS | 1324 #undef FLAG_MODE_DEFINE_DEFAULTS |
1326 #undef FLAG_MODE_META | 1325 #undef FLAG_MODE_META |
1327 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1326 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1328 | 1327 |
1329 #undef COMMA | 1328 #undef COMMA |
OLD | NEW |