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