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