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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 DEFINE_BOOL(always_osr, false, "always try to OSR functions") | 620 DEFINE_BOOL(always_osr, false, "always try to OSR functions") |
621 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") | 621 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") |
622 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") | 622 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") |
623 DEFINE_BOOL(trace_stub_failures, false, | 623 DEFINE_BOOL(trace_stub_failures, false, |
624 "trace deoptimization of generated code stubs") | 624 "trace deoptimization of generated code stubs") |
625 | 625 |
626 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") | 626 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") |
627 DEFINE_BOOL(serialize_eager, false, "compile eagerly when caching scripts") | 627 DEFINE_BOOL(serialize_eager, false, "compile eagerly when caching scripts") |
628 DEFINE_BOOL(serialize_age_code, false, "pre age code in the code cache") | 628 DEFINE_BOOL(serialize_age_code, false, "pre age code in the code cache") |
629 DEFINE_BOOL(trace_serializer, false, "print code serializer trace") | 629 DEFINE_BOOL(trace_serializer, false, "print code serializer trace") |
630 #ifdef DEBUG | |
631 DEFINE_BOOL(external_reference_stats, false, | |
632 "print statistics on external references used during serialization") | |
633 #endif // DEBUG | |
634 | 630 |
635 // compiler.cc | 631 // compiler.cc |
636 DEFINE_INT(min_preparse_length, 1024, | 632 DEFINE_INT(min_preparse_length, 1024, |
637 "minimum length for automatic enable preparsing") | 633 "minimum length for automatic enable preparsing") |
638 DEFINE_INT(max_opt_count, 10, | 634 DEFINE_INT(max_opt_count, 10, |
639 "maximum number of optimization attempts before giving up.") | 635 "maximum number of optimization attempts before giving up.") |
640 | 636 |
641 // compilation-cache.cc | 637 // compilation-cache.cc |
642 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") | 638 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") |
643 | 639 |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 #undef DEFINE_ALIAS_FLOAT | 1223 #undef DEFINE_ALIAS_FLOAT |
1228 #undef DEFINE_ALIAS_ARGS | 1224 #undef DEFINE_ALIAS_ARGS |
1229 | 1225 |
1230 #undef FLAG_MODE_DECLARE | 1226 #undef FLAG_MODE_DECLARE |
1231 #undef FLAG_MODE_DEFINE | 1227 #undef FLAG_MODE_DEFINE |
1232 #undef FLAG_MODE_DEFINE_DEFAULTS | 1228 #undef FLAG_MODE_DEFINE_DEFAULTS |
1233 #undef FLAG_MODE_META | 1229 #undef FLAG_MODE_META |
1234 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1230 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1235 | 1231 |
1236 #undef COMMA | 1232 #undef COMMA |
OLD | NEW |