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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 "when picking a function to optimize, watch for shared function " | 386 "when picking a function to optimize, watch for shared function " |
387 "info, not JSFunction itself") | 387 "info, not JSFunction itself") |
388 DEFINE_BOOL(flush_optimized_code_cache, false, | 388 DEFINE_BOOL(flush_optimized_code_cache, false, |
389 "flushes the cache of optimized code for closures on every GC") | 389 "flushes the cache of optimized code for closures on every GC") |
390 DEFINE_BOOL(inline_construct, true, "inline constructor calls") | 390 DEFINE_BOOL(inline_construct, true, "inline constructor calls") |
391 DEFINE_BOOL(inline_arguments, true, "inline functions with arguments object") | 391 DEFINE_BOOL(inline_arguments, true, "inline functions with arguments object") |
392 DEFINE_BOOL(inline_accessors, true, "inline JavaScript accessors") | 392 DEFINE_BOOL(inline_accessors, true, "inline JavaScript accessors") |
393 DEFINE_INT(escape_analysis_iterations, 2, | 393 DEFINE_INT(escape_analysis_iterations, 2, |
394 "maximum number of escape analysis fix-point iterations") | 394 "maximum number of escape analysis fix-point iterations") |
395 | 395 |
396 DEFINE_BOOL(optimize_for_in, true, "optimize functions containing for-in loops") | |
397 | |
398 DEFINE_BOOL(concurrent_recompilation, true, | 396 DEFINE_BOOL(concurrent_recompilation, true, |
399 "optimizing hot functions asynchronously on a separate thread") | 397 "optimizing hot functions asynchronously on a separate thread") |
400 DEFINE_BOOL(trace_concurrent_recompilation, false, | 398 DEFINE_BOOL(trace_concurrent_recompilation, false, |
401 "track concurrent recompilation") | 399 "track concurrent recompilation") |
402 DEFINE_INT(concurrent_recompilation_queue_length, 8, | 400 DEFINE_INT(concurrent_recompilation_queue_length, 8, |
403 "the length of the concurrent compilation queue") | 401 "the length of the concurrent compilation queue") |
404 DEFINE_INT(concurrent_recompilation_delay, 0, | 402 DEFINE_INT(concurrent_recompilation_delay, 0, |
405 "artificial compilation delay in ms") | 403 "artificial compilation delay in ms") |
406 DEFINE_BOOL(block_concurrent_recompilation, false, | 404 DEFINE_BOOL(block_concurrent_recompilation, false, |
407 "block queued jobs until released") | 405 "block queued jobs until released") |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1135 #undef DEFINE_ALIAS_FLOAT | 1133 #undef DEFINE_ALIAS_FLOAT |
1136 #undef DEFINE_ALIAS_ARGS | 1134 #undef DEFINE_ALIAS_ARGS |
1137 | 1135 |
1138 #undef FLAG_MODE_DECLARE | 1136 #undef FLAG_MODE_DECLARE |
1139 #undef FLAG_MODE_DEFINE | 1137 #undef FLAG_MODE_DEFINE |
1140 #undef FLAG_MODE_DEFINE_DEFAULTS | 1138 #undef FLAG_MODE_DEFINE_DEFAULTS |
1141 #undef FLAG_MODE_META | 1139 #undef FLAG_MODE_META |
1142 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1140 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1143 | 1141 |
1144 #undef COMMA | 1142 #undef COMMA |
OLD | NEW |