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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 | 608 |
609 // regexp-macro-assembler-*.cc | 609 // regexp-macro-assembler-*.cc |
610 DEFINE_BOOL(enable_regexp_unaligned_accesses, true, | 610 DEFINE_BOOL(enable_regexp_unaligned_accesses, true, |
611 "enable unaligned accesses for the regexp engine") | 611 "enable unaligned accesses for the regexp engine") |
612 | 612 |
613 // api.cc | 613 // api.cc |
614 DEFINE_BOOL(script_streaming, true, "enable parsing on background") | 614 DEFINE_BOOL(script_streaming, true, "enable parsing on background") |
615 | 615 |
616 // bootstrapper.cc | 616 // bootstrapper.cc |
617 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") | 617 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") |
618 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") | |
619 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") | 618 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") |
620 DEFINE_BOOL(expose_gc, false, "expose gc extension") | 619 DEFINE_BOOL(expose_gc, false, "expose gc extension") |
621 DEFINE_STRING(expose_gc_as, NULL, | 620 DEFINE_STRING(expose_gc_as, NULL, |
622 "expose gc extension under the specified name") | 621 "expose gc extension under the specified name") |
623 DEFINE_IMPLICATION(expose_gc_as, expose_gc) | 622 DEFINE_IMPLICATION(expose_gc_as, expose_gc) |
624 DEFINE_BOOL(expose_externalize_string, false, | 623 DEFINE_BOOL(expose_externalize_string, false, |
625 "expose externalize string extension") | 624 "expose externalize string extension") |
626 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") | 625 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") |
627 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") | 626 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") |
628 DEFINE_BOOL(builtins_in_stack_traces, false, | 627 DEFINE_BOOL(builtins_in_stack_traces, false, |
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1287 #undef DEFINE_ALIAS_FLOAT | 1286 #undef DEFINE_ALIAS_FLOAT |
1288 #undef DEFINE_ALIAS_ARGS | 1287 #undef DEFINE_ALIAS_ARGS |
1289 | 1288 |
1290 #undef FLAG_MODE_DECLARE | 1289 #undef FLAG_MODE_DECLARE |
1291 #undef FLAG_MODE_DEFINE | 1290 #undef FLAG_MODE_DEFINE |
1292 #undef FLAG_MODE_DEFINE_DEFAULTS | 1291 #undef FLAG_MODE_DEFINE_DEFAULTS |
1293 #undef FLAG_MODE_META | 1292 #undef FLAG_MODE_META |
1294 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1293 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1295 | 1294 |
1296 #undef COMMA | 1295 #undef COMMA |
OLD | NEW |