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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 DEFINE_INT(stress_runs, 0, "number of stress runs") | 392 DEFINE_INT(stress_runs, 0, "number of stress runs") |
393 DEFINE_BOOL(lookup_sample_by_shared, true, | 393 DEFINE_BOOL(lookup_sample_by_shared, true, |
394 "when picking a function to optimize, watch for shared function " | 394 "when picking a function to optimize, watch for shared function " |
395 "info, not JSFunction itself") | 395 "info, not JSFunction itself") |
396 DEFINE_BOOL(flush_optimized_code_cache, false, | 396 DEFINE_BOOL(flush_optimized_code_cache, false, |
397 "flushes the cache of optimized code for closures on every GC") | 397 "flushes the cache of optimized code for closures on every GC") |
398 DEFINE_BOOL(inline_construct, true, "inline constructor calls") | 398 DEFINE_BOOL(inline_construct, true, "inline constructor calls") |
399 DEFINE_BOOL(inline_arguments, true, "inline functions with arguments object") | 399 DEFINE_BOOL(inline_arguments, true, "inline functions with arguments object") |
400 DEFINE_BOOL(inline_accessors, true, "inline JavaScript accessors") | 400 DEFINE_BOOL(inline_accessors, true, "inline JavaScript accessors") |
401 DEFINE_BOOL(inline_into_try, true, "inline into try blocks") | 401 DEFINE_BOOL(inline_into_try, true, "inline into try blocks") |
402 DEFINE_INT(escape_analysis_iterations, 2, | 402 DEFINE_INT(escape_analysis_iterations, 1, |
403 "maximum number of escape analysis fix-point iterations") | 403 "maximum number of escape analysis fix-point iterations") |
404 | 404 |
405 DEFINE_BOOL(concurrent_recompilation, true, | 405 DEFINE_BOOL(concurrent_recompilation, true, |
406 "optimizing hot functions asynchronously on a separate thread") | 406 "optimizing hot functions asynchronously on a separate thread") |
407 DEFINE_BOOL(trace_concurrent_recompilation, false, | 407 DEFINE_BOOL(trace_concurrent_recompilation, false, |
408 "track concurrent recompilation") | 408 "track concurrent recompilation") |
409 DEFINE_INT(concurrent_recompilation_queue_length, 8, | 409 DEFINE_INT(concurrent_recompilation_queue_length, 8, |
410 "the length of the concurrent compilation queue") | 410 "the length of the concurrent compilation queue") |
411 DEFINE_INT(concurrent_recompilation_delay, 0, | 411 DEFINE_INT(concurrent_recompilation_delay, 0, |
412 "artificial compilation delay in ms") | 412 "artificial compilation delay in ms") |
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1237 #undef DEFINE_ALIAS_FLOAT | 1237 #undef DEFINE_ALIAS_FLOAT |
1238 #undef DEFINE_ALIAS_ARGS | 1238 #undef DEFINE_ALIAS_ARGS |
1239 | 1239 |
1240 #undef FLAG_MODE_DECLARE | 1240 #undef FLAG_MODE_DECLARE |
1241 #undef FLAG_MODE_DEFINE | 1241 #undef FLAG_MODE_DEFINE |
1242 #undef FLAG_MODE_DEFINE_DEFAULTS | 1242 #undef FLAG_MODE_DEFINE_DEFAULTS |
1243 #undef FLAG_MODE_META | 1243 #undef FLAG_MODE_META |
1244 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1244 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1245 | 1245 |
1246 #undef COMMA | 1246 #undef COMMA |
OLD | NEW |