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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 DEFINE_BOOL(trace_osr, false, "trace on-stack replacement") | 396 DEFINE_BOOL(trace_osr, false, "trace on-stack replacement") |
397 DEFINE_INT(stress_runs, 0, "number of stress runs") | 397 DEFINE_INT(stress_runs, 0, "number of stress runs") |
398 DEFINE_BOOL(lookup_sample_by_shared, true, | 398 DEFINE_BOOL(lookup_sample_by_shared, true, |
399 "when picking a function to optimize, watch for shared function " | 399 "when picking a function to optimize, watch for shared function " |
400 "info, not JSFunction itself") | 400 "info, not JSFunction itself") |
401 DEFINE_BOOL(flush_optimized_code_cache, false, | 401 DEFINE_BOOL(flush_optimized_code_cache, false, |
402 "flushes the cache of optimized code for closures on every GC") | 402 "flushes the cache of optimized code for closures on every GC") |
403 DEFINE_BOOL(inline_construct, true, "inline constructor calls") | 403 DEFINE_BOOL(inline_construct, true, "inline constructor calls") |
404 DEFINE_BOOL(inline_arguments, true, "inline functions with arguments object") | 404 DEFINE_BOOL(inline_arguments, true, "inline functions with arguments object") |
405 DEFINE_BOOL(inline_accessors, true, "inline JavaScript accessors") | 405 DEFINE_BOOL(inline_accessors, true, "inline JavaScript accessors") |
406 DEFINE_BOOL(inline_into_try, false, "inline into try blocks") | 406 DEFINE_BOOL(inline_into_try, true, "inline into try blocks") |
407 DEFINE_IMPLICATION(turbo, inline_into_try) | |
408 DEFINE_INT(escape_analysis_iterations, 2, | 407 DEFINE_INT(escape_analysis_iterations, 2, |
409 "maximum number of escape analysis fix-point iterations") | 408 "maximum number of escape analysis fix-point iterations") |
410 | 409 |
411 DEFINE_BOOL(concurrent_recompilation, true, | 410 DEFINE_BOOL(concurrent_recompilation, true, |
412 "optimizing hot functions asynchronously on a separate thread") | 411 "optimizing hot functions asynchronously on a separate thread") |
413 DEFINE_BOOL(trace_concurrent_recompilation, false, | 412 DEFINE_BOOL(trace_concurrent_recompilation, false, |
414 "track concurrent recompilation") | 413 "track concurrent recompilation") |
415 DEFINE_INT(concurrent_recompilation_queue_length, 8, | 414 DEFINE_INT(concurrent_recompilation_queue_length, 8, |
416 "the length of the concurrent compilation queue") | 415 "the length of the concurrent compilation queue") |
417 DEFINE_INT(concurrent_recompilation_delay, 0, | 416 DEFINE_INT(concurrent_recompilation_delay, 0, |
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1230 #undef DEFINE_ALIAS_FLOAT | 1229 #undef DEFINE_ALIAS_FLOAT |
1231 #undef DEFINE_ALIAS_ARGS | 1230 #undef DEFINE_ALIAS_ARGS |
1232 | 1231 |
1233 #undef FLAG_MODE_DECLARE | 1232 #undef FLAG_MODE_DECLARE |
1234 #undef FLAG_MODE_DEFINE | 1233 #undef FLAG_MODE_DEFINE |
1235 #undef FLAG_MODE_DEFINE_DEFAULTS | 1234 #undef FLAG_MODE_DEFINE_DEFAULTS |
1236 #undef FLAG_MODE_META | 1235 #undef FLAG_MODE_META |
1237 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1236 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1238 | 1237 |
1239 #undef COMMA | 1238 #undef COMMA |
OLD | NEW |