| 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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 DEFINE_BOOL(trace_external_array_abuse, false, | 449 DEFINE_BOOL(trace_external_array_abuse, false, |
| 450 "trace out-of-bounds-accesses to external arrays") | 450 "trace out-of-bounds-accesses to external arrays") |
| 451 DEFINE_BOOL(trace_array_abuse, false, | 451 DEFINE_BOOL(trace_array_abuse, false, |
| 452 "trace out-of-bounds accesses to all arrays") | 452 "trace out-of-bounds accesses to all arrays") |
| 453 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) | 453 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) |
| 454 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) | 454 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) |
| 455 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") | 455 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") |
| 456 DEFINE_BOOL(hard_abort, true, "abort by crashing") | 456 DEFINE_BOOL(hard_abort, true, "abort by crashing") |
| 457 | 457 |
| 458 // execution.cc | 458 // execution.cc |
| 459 // Slightly less than 1MB on 64-bit, since Windows' default stack size for | 459 // Slightly less than 1MB, since Windows' default stack size for |
| 460 // the main execution thread is 1MB for both 32 and 64-bit. | 460 // the main execution thread is 1MB for both 32 and 64-bit. |
| 461 DEFINE_INT(stack_size, kPointerSize * 123, | 461 DEFINE_INT(stack_size, 984, |
| 462 "default size of stack region v8 is allowed to use (in kBytes)") | 462 "default size of stack region v8 is allowed to use (in kBytes)") |
| 463 | 463 |
| 464 // frames.cc | 464 // frames.cc |
| 465 DEFINE_INT(max_stack_trace_source_length, 300, | 465 DEFINE_INT(max_stack_trace_source_length, 300, |
| 466 "maximum length of function source code printed in a stack trace.") | 466 "maximum length of function source code printed in a stack trace.") |
| 467 | 467 |
| 468 // full-codegen.cc | 468 // full-codegen.cc |
| 469 DEFINE_BOOL(always_inline_smi_code, false, | 469 DEFINE_BOOL(always_inline_smi_code, false, |
| 470 "always inline smi code in non-opt code") | 470 "always inline smi code in non-opt code") |
| 471 | 471 |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 #undef DEFINE_ALIAS_FLOAT | 915 #undef DEFINE_ALIAS_FLOAT |
| 916 #undef DEFINE_ALIAS_ARGS | 916 #undef DEFINE_ALIAS_ARGS |
| 917 | 917 |
| 918 #undef FLAG_MODE_DECLARE | 918 #undef FLAG_MODE_DECLARE |
| 919 #undef FLAG_MODE_DEFINE | 919 #undef FLAG_MODE_DEFINE |
| 920 #undef FLAG_MODE_DEFINE_DEFAULTS | 920 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 921 #undef FLAG_MODE_META | 921 #undef FLAG_MODE_META |
| 922 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 922 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 923 | 923 |
| 924 #undef COMMA | 924 #undef COMMA |
| OLD | NEW |