| 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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 DEFINE_bool(always_opt, false, "always try to optimize functions") | 419 DEFINE_bool(always_opt, false, "always try to optimize functions") |
| 420 DEFINE_bool(always_osr, false, "always try to OSR functions") | 420 DEFINE_bool(always_osr, false, "always try to OSR functions") |
| 421 DEFINE_bool(prepare_always_opt, false, "prepare for turning on always opt") | 421 DEFINE_bool(prepare_always_opt, false, "prepare for turning on always opt") |
| 422 DEFINE_bool(trace_deopt, false, "trace optimize function deoptimization") | 422 DEFINE_bool(trace_deopt, false, "trace optimize function deoptimization") |
| 423 DEFINE_bool(trace_stub_failures, false, | 423 DEFINE_bool(trace_stub_failures, false, |
| 424 "trace deoptimization of generated code stubs") | 424 "trace deoptimization of generated code stubs") |
| 425 | 425 |
| 426 // compiler.cc | 426 // compiler.cc |
| 427 DEFINE_int(min_preparse_length, 1024, | 427 DEFINE_int(min_preparse_length, 1024, |
| 428 "minimum length for automatic enable preparsing") | 428 "minimum length for automatic enable preparsing") |
| 429 DEFINE_int(min_parallel_parse_length, 4096, |
| 430 "minimum code length for multithreaded parsing") |
| 431 DEFINE_bool(parallel_parse, true, "use multithreaded parsing") |
| 429 DEFINE_bool(always_full_compiler, false, | 432 DEFINE_bool(always_full_compiler, false, |
| 430 "try to use the dedicated run-once backend for all code") | 433 "try to use the dedicated run-once backend for all code") |
| 431 DEFINE_int(max_opt_count, 10, | 434 DEFINE_int(max_opt_count, 10, |
| 432 "maximum number of optimization attempts before giving up.") | 435 "maximum number of optimization attempts before giving up.") |
| 433 | 436 |
| 434 // compilation-cache.cc | 437 // compilation-cache.cc |
| 435 DEFINE_bool(compilation_cache, true, "enable compilation cache") | 438 DEFINE_bool(compilation_cache, true, "enable compilation cache") |
| 436 | 439 |
| 437 DEFINE_bool(cache_prototype_transitions, true, "cache prototype transitions") | 440 DEFINE_bool(cache_prototype_transitions, true, "cache prototype transitions") |
| 438 | 441 |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 892 #undef DEFINE_ALIAS_float | 895 #undef DEFINE_ALIAS_float |
| 893 #undef DEFINE_ALIAS_args | 896 #undef DEFINE_ALIAS_args |
| 894 | 897 |
| 895 #undef FLAG_MODE_DECLARE | 898 #undef FLAG_MODE_DECLARE |
| 896 #undef FLAG_MODE_DEFINE | 899 #undef FLAG_MODE_DEFINE |
| 897 #undef FLAG_MODE_DEFINE_DEFAULTS | 900 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 898 #undef FLAG_MODE_META | 901 #undef FLAG_MODE_META |
| 899 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 902 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 900 | 903 |
| 901 #undef COMMA | 904 #undef COMMA |
| OLD | NEW |