| 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 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, | 628 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, |
| 629 "default size of stack region v8 is allowed to use (in kBytes)") | 629 "default size of stack region v8 is allowed to use (in kBytes)") |
| 630 | 630 |
| 631 // frames.cc | 631 // frames.cc |
| 632 DEFINE_INT(max_stack_trace_source_length, 300, | 632 DEFINE_INT(max_stack_trace_source_length, 300, |
| 633 "maximum length of function source code printed in a stack trace.") | 633 "maximum length of function source code printed in a stack trace.") |
| 634 | 634 |
| 635 // full-codegen.cc | 635 // full-codegen.cc |
| 636 DEFINE_BOOL(always_inline_smi_code, false, | 636 DEFINE_BOOL(always_inline_smi_code, false, |
| 637 "always inline smi code in non-opt code") | 637 "always inline smi code in non-opt code") |
| 638 DEFINE_BOOL(verify_operand_stack_depth, true, |
| 639 "emit debug code that verifies the static tracking of the operand " |
| 640 "stack depth") |
| 638 | 641 |
| 639 // heap.cc | 642 // heap.cc |
| 640 DEFINE_INT(min_semi_space_size, 0, | 643 DEFINE_INT(min_semi_space_size, 0, |
| 641 "min size of a semi-space (in MBytes), the new space consists of two" | 644 "min size of a semi-space (in MBytes), the new space consists of two" |
| 642 "semi-spaces") | 645 "semi-spaces") |
| 643 DEFINE_INT(max_semi_space_size, 0, | 646 DEFINE_INT(max_semi_space_size, 0, |
| 644 "max size of a semi-space (in MBytes), the new space consists of two" | 647 "max size of a semi-space (in MBytes), the new space consists of two" |
| 645 "semi-spaces") | 648 "semi-spaces") |
| 646 DEFINE_INT(semi_space_growth_factor, 2, "factor by which to grow the new space") | 649 DEFINE_INT(semi_space_growth_factor, 2, "factor by which to grow the new space") |
| 647 DEFINE_BOOL(experimental_new_space_growth_heuristic, false, | 650 DEFINE_BOOL(experimental_new_space_growth_heuristic, false, |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1158 #undef DEFINE_ALIAS_FLOAT | 1161 #undef DEFINE_ALIAS_FLOAT |
| 1159 #undef DEFINE_ALIAS_ARGS | 1162 #undef DEFINE_ALIAS_ARGS |
| 1160 | 1163 |
| 1161 #undef FLAG_MODE_DECLARE | 1164 #undef FLAG_MODE_DECLARE |
| 1162 #undef FLAG_MODE_DEFINE | 1165 #undef FLAG_MODE_DEFINE |
| 1163 #undef FLAG_MODE_DEFINE_DEFAULTS | 1166 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1164 #undef FLAG_MODE_META | 1167 #undef FLAG_MODE_META |
| 1165 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1168 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1166 | 1169 |
| 1167 #undef COMMA | 1170 #undef COMMA |
| OLD | NEW |