| 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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") | 635 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") |
| 636 DEFINE_BOOL(serialize_eager, false, "compile eagerly when caching scripts") | 636 DEFINE_BOOL(serialize_eager, false, "compile eagerly when caching scripts") |
| 637 DEFINE_BOOL(serialize_age_code, false, "pre age code in the code cache") | 637 DEFINE_BOOL(serialize_age_code, false, "pre age code in the code cache") |
| 638 DEFINE_BOOL(trace_serializer, false, "print code serializer trace") | 638 DEFINE_BOOL(trace_serializer, false, "print code serializer trace") |
| 639 #ifdef DEBUG | 639 #ifdef DEBUG |
| 640 DEFINE_BOOL(external_reference_stats, false, | 640 DEFINE_BOOL(external_reference_stats, false, |
| 641 "print statistics on external references used during serialization") | 641 "print statistics on external references used during serialization") |
| 642 #endif // DEBUG | 642 #endif // DEBUG |
| 643 | 643 |
| 644 // compiler.cc | 644 // compiler.cc |
| 645 DEFINE_INT(min_preparse_length, 1024, | |
| 646 "minimum length for automatic enable preparsing") | |
| 647 DEFINE_INT(max_opt_count, 10, | 645 DEFINE_INT(max_opt_count, 10, |
| 648 "maximum number of optimization attempts before giving up.") | 646 "maximum number of optimization attempts before giving up.") |
| 649 | 647 |
| 650 // compilation-cache.cc | 648 // compilation-cache.cc |
| 651 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") | 649 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") |
| 652 | 650 |
| 653 DEFINE_BOOL(cache_prototype_transitions, true, "cache prototype transitions") | 651 DEFINE_BOOL(cache_prototype_transitions, true, "cache prototype transitions") |
| 654 | 652 |
| 655 // cpu-profiler.cc | 653 // cpu-profiler.cc |
| 656 DEFINE_INT(cpu_profiler_sampling_interval, 1000, | 654 DEFINE_INT(cpu_profiler_sampling_interval, 1000, |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1238 #undef DEFINE_ALIAS_FLOAT | 1236 #undef DEFINE_ALIAS_FLOAT |
| 1239 #undef DEFINE_ALIAS_ARGS | 1237 #undef DEFINE_ALIAS_ARGS |
| 1240 | 1238 |
| 1241 #undef FLAG_MODE_DECLARE | 1239 #undef FLAG_MODE_DECLARE |
| 1242 #undef FLAG_MODE_DEFINE | 1240 #undef FLAG_MODE_DEFINE |
| 1243 #undef FLAG_MODE_DEFINE_DEFAULTS | 1241 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1244 #undef FLAG_MODE_META | 1242 #undef FLAG_MODE_META |
| 1245 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1243 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1246 | 1244 |
| 1247 #undef COMMA | 1245 #undef COMMA |
| OLD | NEW |