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