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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") | 431 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") |
432 DEFINE_BOOL(opt, true, "use adaptive optimizations") | 432 DEFINE_BOOL(opt, true, "use adaptive optimizations") |
433 DEFINE_BOOL(always_opt, false, "always try to optimize functions") | 433 DEFINE_BOOL(always_opt, false, "always try to optimize functions") |
434 DEFINE_BOOL(always_osr, false, "always try to OSR functions") | 434 DEFINE_BOOL(always_osr, false, "always try to OSR functions") |
435 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") | 435 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") |
436 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") | 436 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") |
437 DEFINE_BOOL(trace_stub_failures, false, | 437 DEFINE_BOOL(trace_stub_failures, false, |
438 "trace deoptimization of generated code stubs") | 438 "trace deoptimization of generated code stubs") |
439 | 439 |
440 DEFINE_BOOL(serialize_toplevel, false, "enable caching of toplevel scripts") | 440 DEFINE_BOOL(serialize_toplevel, false, "enable caching of toplevel scripts") |
| 441 DEFINE_BOOL(trace_code_serializer, false, "trace code serializer") |
441 | 442 |
442 // compiler.cc | 443 // compiler.cc |
443 DEFINE_INT(min_preparse_length, 1024, | 444 DEFINE_INT(min_preparse_length, 1024, |
444 "minimum length for automatic enable preparsing") | 445 "minimum length for automatic enable preparsing") |
445 DEFINE_INT(max_opt_count, 10, | 446 DEFINE_INT(max_opt_count, 10, |
446 "maximum number of optimization attempts before giving up.") | 447 "maximum number of optimization attempts before giving up.") |
447 | 448 |
448 // compilation-cache.cc | 449 // compilation-cache.cc |
449 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") | 450 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") |
450 | 451 |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
933 #undef DEFINE_ALIAS_FLOAT | 934 #undef DEFINE_ALIAS_FLOAT |
934 #undef DEFINE_ALIAS_ARGS | 935 #undef DEFINE_ALIAS_ARGS |
935 | 936 |
936 #undef FLAG_MODE_DECLARE | 937 #undef FLAG_MODE_DECLARE |
937 #undef FLAG_MODE_DEFINE | 938 #undef FLAG_MODE_DEFINE |
938 #undef FLAG_MODE_DEFINE_DEFAULTS | 939 #undef FLAG_MODE_DEFINE_DEFAULTS |
939 #undef FLAG_MODE_META | 940 #undef FLAG_MODE_META |
940 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 941 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
941 | 942 |
942 #undef COMMA | 943 #undef COMMA |
OLD | NEW |