| 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_IMPLICATION(trace_array_abuse, trace_js_array_abuse) | 844 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) |
| 845 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) | 845 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) |
| 846 | 846 |
| 847 // debugger | 847 // debugger |
| 848 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") | 848 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") |
| 849 DEFINE_BOOL( | 849 DEFINE_BOOL( |
| 850 trace_side_effect_free_debug_evaluate, false, | 850 trace_side_effect_free_debug_evaluate, false, |
| 851 "print debug messages for side-effect-free debug-evaluate for testing") | 851 "print debug messages for side-effect-free debug-evaluate for testing") |
| 852 DEFINE_BOOL(hard_abort, true, "abort by crashing") | 852 DEFINE_BOOL(hard_abort, true, "abort by crashing") |
| 853 | 853 |
| 854 // inspector |
| 855 DEFINE_BOOL(expose_inspector_scripts, false, |
| 856 "expose injected-script-source.js for debugging") |
| 857 |
| 854 // execution.cc | 858 // execution.cc |
| 855 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, | 859 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, |
| 856 "default size of stack region v8 is allowed to use (in kBytes)") | 860 "default size of stack region v8 is allowed to use (in kBytes)") |
| 857 | 861 |
| 858 // frames.cc | 862 // frames.cc |
| 859 DEFINE_INT(max_stack_trace_source_length, 300, | 863 DEFINE_INT(max_stack_trace_source_length, 300, |
| 860 "maximum length of function source code printed in a stack trace.") | 864 "maximum length of function source code printed in a stack trace.") |
| 861 | 865 |
| 862 // full-codegen.cc | 866 // full-codegen.cc |
| 863 DEFINE_BOOL(always_inline_smi_code, false, | 867 DEFINE_BOOL(always_inline_smi_code, false, |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1331 #undef DEFINE_ALIAS_FLOAT | 1335 #undef DEFINE_ALIAS_FLOAT |
| 1332 #undef DEFINE_ALIAS_ARGS | 1336 #undef DEFINE_ALIAS_ARGS |
| 1333 | 1337 |
| 1334 #undef FLAG_MODE_DECLARE | 1338 #undef FLAG_MODE_DECLARE |
| 1335 #undef FLAG_MODE_DEFINE | 1339 #undef FLAG_MODE_DEFINE |
| 1336 #undef FLAG_MODE_DEFINE_DEFAULTS | 1340 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1337 #undef FLAG_MODE_META | 1341 #undef FLAG_MODE_META |
| 1338 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1342 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1339 | 1343 |
| 1340 #undef COMMA | 1344 #undef COMMA |
| OLD | NEW |