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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 | 593 |
594 // regexp-macro-assembler-*.cc | 594 // regexp-macro-assembler-*.cc |
595 DEFINE_BOOL(enable_regexp_unaligned_accesses, true, | 595 DEFINE_BOOL(enable_regexp_unaligned_accesses, true, |
596 "enable unaligned accesses for the regexp engine") | 596 "enable unaligned accesses for the regexp engine") |
597 | 597 |
598 // api.cc | 598 // api.cc |
599 DEFINE_BOOL(script_streaming, true, "enable parsing on background") | 599 DEFINE_BOOL(script_streaming, true, "enable parsing on background") |
600 | 600 |
601 // bootstrapper.cc | 601 // bootstrapper.cc |
602 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") | 602 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") |
603 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") | |
604 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") | 603 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") |
605 DEFINE_BOOL(expose_gc, false, "expose gc extension") | 604 DEFINE_BOOL(expose_gc, false, "expose gc extension") |
606 DEFINE_STRING(expose_gc_as, NULL, | 605 DEFINE_STRING(expose_gc_as, NULL, |
607 "expose gc extension under the specified name") | 606 "expose gc extension under the specified name") |
608 DEFINE_IMPLICATION(expose_gc_as, expose_gc) | 607 DEFINE_IMPLICATION(expose_gc_as, expose_gc) |
609 DEFINE_BOOL(expose_externalize_string, false, | 608 DEFINE_BOOL(expose_externalize_string, false, |
610 "expose externalize string extension") | 609 "expose externalize string extension") |
611 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") | 610 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") |
612 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") | 611 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") |
613 DEFINE_BOOL(builtins_in_stack_traces, false, | 612 DEFINE_BOOL(builtins_in_stack_traces, false, |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1256 #undef DEFINE_ALIAS_FLOAT | 1255 #undef DEFINE_ALIAS_FLOAT |
1257 #undef DEFINE_ALIAS_ARGS | 1256 #undef DEFINE_ALIAS_ARGS |
1258 | 1257 |
1259 #undef FLAG_MODE_DECLARE | 1258 #undef FLAG_MODE_DECLARE |
1260 #undef FLAG_MODE_DEFINE | 1259 #undef FLAG_MODE_DEFINE |
1261 #undef FLAG_MODE_DEFINE_DEFAULTS | 1260 #undef FLAG_MODE_DEFINE_DEFAULTS |
1262 #undef FLAG_MODE_META | 1261 #undef FLAG_MODE_META |
1263 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1262 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1264 | 1263 |
1265 #undef COMMA | 1264 #undef COMMA |
OLD | NEW |