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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 DEFINE_BOOL(trace_external_array_abuse, false, | 453 DEFINE_BOOL(trace_external_array_abuse, false, |
454 "trace out-of-bounds-accesses to external arrays") | 454 "trace out-of-bounds-accesses to external arrays") |
455 DEFINE_BOOL(trace_array_abuse, false, | 455 DEFINE_BOOL(trace_array_abuse, false, |
456 "trace out-of-bounds accesses to all arrays") | 456 "trace out-of-bounds accesses to all arrays") |
457 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) | 457 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) |
458 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) | 458 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) |
459 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") | 459 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") |
460 DEFINE_BOOL(hard_abort, true, "abort by crashing") | 460 DEFINE_BOOL(hard_abort, true, "abort by crashing") |
461 | 461 |
462 // execution.cc | 462 // execution.cc |
463 // Slightly less than 1MB, since Windows' default stack size for | 463 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, |
464 // the main execution thread is 1MB for both 32 and 64-bit. | |
465 DEFINE_INT(stack_size, 984, | |
466 "default size of stack region v8 is allowed to use (in kBytes)") | 464 "default size of stack region v8 is allowed to use (in kBytes)") |
467 | 465 |
468 // frames.cc | 466 // frames.cc |
469 DEFINE_INT(max_stack_trace_source_length, 300, | 467 DEFINE_INT(max_stack_trace_source_length, 300, |
470 "maximum length of function source code printed in a stack trace.") | 468 "maximum length of function source code printed in a stack trace.") |
471 | 469 |
472 // full-codegen.cc | 470 // full-codegen.cc |
473 DEFINE_BOOL(always_inline_smi_code, false, | 471 DEFINE_BOOL(always_inline_smi_code, false, |
474 "always inline smi code in non-opt code") | 472 "always inline smi code in non-opt code") |
475 | 473 |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
924 #undef DEFINE_ALIAS_FLOAT | 922 #undef DEFINE_ALIAS_FLOAT |
925 #undef DEFINE_ALIAS_ARGS | 923 #undef DEFINE_ALIAS_ARGS |
926 | 924 |
927 #undef FLAG_MODE_DECLARE | 925 #undef FLAG_MODE_DECLARE |
928 #undef FLAG_MODE_DEFINE | 926 #undef FLAG_MODE_DEFINE |
929 #undef FLAG_MODE_DEFINE_DEFAULTS | 927 #undef FLAG_MODE_DEFINE_DEFAULTS |
930 #undef FLAG_MODE_META | 928 #undef FLAG_MODE_META |
931 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 929 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
932 | 930 |
933 #undef COMMA | 931 #undef COMMA |
OLD | NEW |