| 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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 DEFINE_BOOL(trace_external_array_abuse, false, | 463 DEFINE_BOOL(trace_external_array_abuse, false, |
| 464 "trace out-of-bounds-accesses to external arrays") | 464 "trace out-of-bounds-accesses to external arrays") |
| 465 DEFINE_BOOL(trace_array_abuse, false, | 465 DEFINE_BOOL(trace_array_abuse, false, |
| 466 "trace out-of-bounds accesses to all arrays") | 466 "trace out-of-bounds accesses to all arrays") |
| 467 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) | 467 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) |
| 468 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) | 468 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) |
| 469 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") | 469 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") |
| 470 DEFINE_BOOL(hard_abort, true, "abort by crashing") | 470 DEFINE_BOOL(hard_abort, true, "abort by crashing") |
| 471 | 471 |
| 472 // execution.cc | 472 // execution.cc |
| 473 // Slightly less than 1MB, since Windows' default stack size for | 473 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, |
| 474 // the main execution thread is 1MB for both 32 and 64-bit. | |
| 475 DEFINE_INT(stack_size, 984, | |
| 476 "default size of stack region v8 is allowed to use (in kBytes)") | 474 "default size of stack region v8 is allowed to use (in kBytes)") |
| 477 | 475 |
| 478 // frames.cc | 476 // frames.cc |
| 479 DEFINE_INT(max_stack_trace_source_length, 300, | 477 DEFINE_INT(max_stack_trace_source_length, 300, |
| 480 "maximum length of function source code printed in a stack trace.") | 478 "maximum length of function source code printed in a stack trace.") |
| 481 | 479 |
| 482 // full-codegen.cc | 480 // full-codegen.cc |
| 483 DEFINE_BOOL(always_inline_smi_code, false, | 481 DEFINE_BOOL(always_inline_smi_code, false, |
| 484 "always inline smi code in non-opt code") | 482 "always inline smi code in non-opt code") |
| 485 | 483 |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 935 #undef DEFINE_ALIAS_FLOAT | 933 #undef DEFINE_ALIAS_FLOAT |
| 936 #undef DEFINE_ALIAS_ARGS | 934 #undef DEFINE_ALIAS_ARGS |
| 937 | 935 |
| 938 #undef FLAG_MODE_DECLARE | 936 #undef FLAG_MODE_DECLARE |
| 939 #undef FLAG_MODE_DEFINE | 937 #undef FLAG_MODE_DEFINE |
| 940 #undef FLAG_MODE_DEFINE_DEFAULTS | 938 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 941 #undef FLAG_MODE_META | 939 #undef FLAG_MODE_META |
| 942 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 940 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 943 | 941 |
| 944 #undef COMMA | 942 #undef COMMA |
| OLD | NEW |