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 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 | 590 |
591 // compilation-cache.cc | 591 // compilation-cache.cc |
592 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") | 592 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") |
593 | 593 |
594 DEFINE_BOOL(cache_prototype_transitions, true, "cache prototype transitions") | 594 DEFINE_BOOL(cache_prototype_transitions, true, "cache prototype transitions") |
595 | 595 |
596 // cpu-profiler.cc | 596 // cpu-profiler.cc |
597 DEFINE_INT(cpu_profiler_sampling_interval, 1000, | 597 DEFINE_INT(cpu_profiler_sampling_interval, 1000, |
598 "CPU profiler sampling interval in microseconds") | 598 "CPU profiler sampling interval in microseconds") |
599 | 599 |
600 // Array abuse tracing | 600 // debug.cc |
| 601 DEFINE_BOOL(trace_debug_json, false, "trace debugging JSON request/response") |
601 DEFINE_BOOL(trace_js_array_abuse, false, | 602 DEFINE_BOOL(trace_js_array_abuse, false, |
602 "trace out-of-bounds accesses to JS arrays") | 603 "trace out-of-bounds accesses to JS arrays") |
603 DEFINE_BOOL(trace_external_array_abuse, false, | 604 DEFINE_BOOL(trace_external_array_abuse, false, |
604 "trace out-of-bounds-accesses to external arrays") | 605 "trace out-of-bounds-accesses to external arrays") |
605 DEFINE_BOOL(trace_array_abuse, false, | 606 DEFINE_BOOL(trace_array_abuse, false, |
606 "trace out-of-bounds accesses to all arrays") | 607 "trace out-of-bounds accesses to all arrays") |
607 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) | 608 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) |
608 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) | 609 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) |
609 | |
610 // debugger | |
611 DEFINE_BOOL(debug_eval_readonly_locals, true, | |
612 "do not update locals after debug-evaluate") | |
613 DEFINE_BOOL(trace_debug_json, false, "trace debugging JSON request/response") | |
614 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") | 610 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") |
615 DEFINE_BOOL(hard_abort, true, "abort by crashing") | 611 DEFINE_BOOL(hard_abort, true, "abort by crashing") |
616 | 612 |
617 // execution.cc | 613 // execution.cc |
618 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, | 614 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, |
619 "default size of stack region v8 is allowed to use (in kBytes)") | 615 "default size of stack region v8 is allowed to use (in kBytes)") |
620 | 616 |
621 // frames.cc | 617 // frames.cc |
622 DEFINE_INT(max_stack_trace_source_length, 300, | 618 DEFINE_INT(max_stack_trace_source_length, 300, |
623 "maximum length of function source code printed in a stack trace.") | 619 "maximum length of function source code printed in a stack trace.") |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1133 #undef DEFINE_ALIAS_FLOAT | 1129 #undef DEFINE_ALIAS_FLOAT |
1134 #undef DEFINE_ALIAS_ARGS | 1130 #undef DEFINE_ALIAS_ARGS |
1135 | 1131 |
1136 #undef FLAG_MODE_DECLARE | 1132 #undef FLAG_MODE_DECLARE |
1137 #undef FLAG_MODE_DEFINE | 1133 #undef FLAG_MODE_DEFINE |
1138 #undef FLAG_MODE_DEFINE_DEFAULTS | 1134 #undef FLAG_MODE_DEFINE_DEFAULTS |
1139 #undef FLAG_MODE_META | 1135 #undef FLAG_MODE_META |
1140 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1136 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1141 | 1137 |
1142 #undef COMMA | 1138 #undef COMMA |
OLD | NEW |