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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") | 550 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") |
551 DEFINE_BOOL(opt, true, "use adaptive optimizations") | 551 DEFINE_BOOL(opt, true, "use adaptive optimizations") |
552 DEFINE_BOOL(always_opt, false, "always try to optimize functions") | 552 DEFINE_BOOL(always_opt, false, "always try to optimize functions") |
553 DEFINE_BOOL(always_osr, false, "always try to OSR functions") | 553 DEFINE_BOOL(always_osr, false, "always try to OSR functions") |
554 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") | 554 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") |
555 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") | 555 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") |
556 DEFINE_BOOL(trace_stub_failures, false, | 556 DEFINE_BOOL(trace_stub_failures, false, |
557 "trace deoptimization of generated code stubs") | 557 "trace deoptimization of generated code stubs") |
558 | 558 |
559 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") | 559 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") |
560 DEFINE_BOOL(serialize_inner, true, "enable caching of inner functions") | |
561 DEFINE_BOOL(trace_serializer, false, "print code serializer trace") | 560 DEFINE_BOOL(trace_serializer, false, "print code serializer trace") |
562 | 561 |
563 // compiler.cc | 562 // compiler.cc |
564 DEFINE_INT(min_preparse_length, 1024, | 563 DEFINE_INT(min_preparse_length, 1024, |
565 "minimum length for automatic enable preparsing") | 564 "minimum length for automatic enable preparsing") |
566 DEFINE_INT(max_opt_count, 10, | 565 DEFINE_INT(max_opt_count, 10, |
567 "maximum number of optimization attempts before giving up.") | 566 "maximum number of optimization attempts before giving up.") |
568 | 567 |
569 // compilation-cache.cc | 568 // compilation-cache.cc |
570 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") | 569 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") |
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1105 #undef DEFINE_ALIAS_FLOAT | 1104 #undef DEFINE_ALIAS_FLOAT |
1106 #undef DEFINE_ALIAS_ARGS | 1105 #undef DEFINE_ALIAS_ARGS |
1107 | 1106 |
1108 #undef FLAG_MODE_DECLARE | 1107 #undef FLAG_MODE_DECLARE |
1109 #undef FLAG_MODE_DEFINE | 1108 #undef FLAG_MODE_DEFINE |
1110 #undef FLAG_MODE_DEFINE_DEFAULTS | 1109 #undef FLAG_MODE_DEFINE_DEFAULTS |
1111 #undef FLAG_MODE_META | 1110 #undef FLAG_MODE_META |
1112 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1111 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1113 | 1112 |
1114 #undef COMMA | 1113 #undef COMMA |
OLD | NEW |