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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") | 456 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") |
457 DEFINE_BOOL(opt, true, "use adaptive optimizations") | 457 DEFINE_BOOL(opt, true, "use adaptive optimizations") |
458 DEFINE_BOOL(always_opt, false, "always try to optimize functions") | 458 DEFINE_BOOL(always_opt, false, "always try to optimize functions") |
459 DEFINE_BOOL(always_osr, false, "always try to OSR functions") | 459 DEFINE_BOOL(always_osr, false, "always try to OSR functions") |
460 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") | 460 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") |
461 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") | 461 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") |
462 DEFINE_BOOL(trace_stub_failures, false, | 462 DEFINE_BOOL(trace_stub_failures, false, |
463 "trace deoptimization of generated code stubs") | 463 "trace deoptimization of generated code stubs") |
464 | 464 |
465 DEFINE_BOOL(serialize_toplevel, false, "enable caching of toplevel scripts") | 465 DEFINE_BOOL(serialize_toplevel, false, "enable caching of toplevel scripts") |
466 DEFINE_INT(serializer_trace_level, 0, "trace code serializer (0 .. 2)") | 466 DEFINE_BOOL(trace_code_serializer, false, "print code serializer trace") |
467 | 467 |
468 // compiler.cc | 468 // compiler.cc |
469 DEFINE_INT(min_preparse_length, 1024, | 469 DEFINE_INT(min_preparse_length, 1024, |
470 "minimum length for automatic enable preparsing") | 470 "minimum length for automatic enable preparsing") |
471 DEFINE_INT(max_opt_count, 10, | 471 DEFINE_INT(max_opt_count, 10, |
472 "maximum number of optimization attempts before giving up.") | 472 "maximum number of optimization attempts before giving up.") |
473 | 473 |
474 // compilation-cache.cc | 474 // compilation-cache.cc |
475 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") | 475 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") |
476 | 476 |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 #undef DEFINE_ALIAS_FLOAT | 951 #undef DEFINE_ALIAS_FLOAT |
952 #undef DEFINE_ALIAS_ARGS | 952 #undef DEFINE_ALIAS_ARGS |
953 | 953 |
954 #undef FLAG_MODE_DECLARE | 954 #undef FLAG_MODE_DECLARE |
955 #undef FLAG_MODE_DEFINE | 955 #undef FLAG_MODE_DEFINE |
956 #undef FLAG_MODE_DEFINE_DEFAULTS | 956 #undef FLAG_MODE_DEFINE_DEFAULTS |
957 #undef FLAG_MODE_META | 957 #undef FLAG_MODE_META |
958 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 958 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
959 | 959 |
960 #undef COMMA | 960 #undef COMMA |
OLD | NEW |