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