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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") | 491 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") |
492 DEFINE_BOOL(opt, true, "use adaptive optimizations") | 492 DEFINE_BOOL(opt, true, "use adaptive optimizations") |
493 DEFINE_BOOL(always_opt, false, "always try to optimize functions") | 493 DEFINE_BOOL(always_opt, false, "always try to optimize functions") |
494 DEFINE_BOOL(always_osr, false, "always try to OSR functions") | 494 DEFINE_BOOL(always_osr, false, "always try to OSR functions") |
495 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") | 495 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") |
496 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") | 496 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") |
497 DEFINE_BOOL(trace_stub_failures, false, | 497 DEFINE_BOOL(trace_stub_failures, false, |
498 "trace deoptimization of generated code stubs") | 498 "trace deoptimization of generated code stubs") |
499 | 499 |
500 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") | 500 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") |
501 DEFINE_BOOL(serialize_inner, false, "enable caching of inner functions") | 501 DEFINE_BOOL(serialize_inner, true, "enable caching of inner functions") |
502 DEFINE_BOOL(trace_serializer, false, "print code serializer trace") | 502 DEFINE_BOOL(trace_serializer, false, "print code serializer trace") |
503 | 503 |
504 // compiler.cc | 504 // compiler.cc |
505 DEFINE_INT(min_preparse_length, 1024, | 505 DEFINE_INT(min_preparse_length, 1024, |
506 "minimum length for automatic enable preparsing") | 506 "minimum length for automatic enable preparsing") |
507 DEFINE_INT(max_opt_count, 10, | 507 DEFINE_INT(max_opt_count, 10, |
508 "maximum number of optimization attempts before giving up.") | 508 "maximum number of optimization attempts before giving up.") |
509 | 509 |
510 // compilation-cache.cc | 510 // compilation-cache.cc |
511 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") | 511 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
996 #undef DEFINE_ALIAS_FLOAT | 996 #undef DEFINE_ALIAS_FLOAT |
997 #undef DEFINE_ALIAS_ARGS | 997 #undef DEFINE_ALIAS_ARGS |
998 | 998 |
999 #undef FLAG_MODE_DECLARE | 999 #undef FLAG_MODE_DECLARE |
1000 #undef FLAG_MODE_DEFINE | 1000 #undef FLAG_MODE_DEFINE |
1001 #undef FLAG_MODE_DEFINE_DEFAULTS | 1001 #undef FLAG_MODE_DEFINE_DEFAULTS |
1002 #undef FLAG_MODE_META | 1002 #undef FLAG_MODE_META |
1003 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1003 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1004 | 1004 |
1005 #undef COMMA | 1005 #undef COMMA |
OLD | NEW |