| 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 300 DEFINE_BOOL(cache_optimized_code, true, "cache optimized code for closures") | 300 DEFINE_BOOL(cache_optimized_code, true, "cache optimized code for closures") | 
| 301 DEFINE_BOOL(flush_optimized_code_cache, true, | 301 DEFINE_BOOL(flush_optimized_code_cache, true, | 
| 302             "flushes the cache of optimized code for closures on every GC") | 302             "flushes the cache of optimized code for closures on every GC") | 
| 303 DEFINE_BOOL(inline_construct, true, "inline constructor calls") | 303 DEFINE_BOOL(inline_construct, true, "inline constructor calls") | 
| 304 DEFINE_BOOL(inline_arguments, true, "inline functions with arguments object") | 304 DEFINE_BOOL(inline_arguments, true, "inline functions with arguments object") | 
| 305 DEFINE_BOOL(inline_accessors, true, "inline JavaScript accessors") | 305 DEFINE_BOOL(inline_accessors, true, "inline JavaScript accessors") | 
| 306 DEFINE_INT(escape_analysis_iterations, 2, | 306 DEFINE_INT(escape_analysis_iterations, 2, | 
| 307            "maximum number of escape analysis fix-point iterations") | 307            "maximum number of escape analysis fix-point iterations") | 
| 308 | 308 | 
| 309 DEFINE_BOOL(optimize_for_in, true, "optimize functions containing for-in loops") | 309 DEFINE_BOOL(optimize_for_in, true, "optimize functions containing for-in loops") | 
| 310 DEFINE_BOOL(opt_safe_uint32_operations, true, |  | 
| 311             "allow uint32 values on optimize frames if they are used only in " |  | 
| 312             "safe operations") |  | 
| 313 | 310 | 
| 314 DEFINE_BOOL(concurrent_recompilation, true, | 311 DEFINE_BOOL(concurrent_recompilation, true, | 
| 315             "optimizing hot functions asynchronously on a separate thread") | 312             "optimizing hot functions asynchronously on a separate thread") | 
| 316 DEFINE_BOOL(trace_concurrent_recompilation, false, | 313 DEFINE_BOOL(trace_concurrent_recompilation, false, | 
| 317             "track concurrent recompilation") | 314             "track concurrent recompilation") | 
| 318 DEFINE_INT(concurrent_recompilation_queue_length, 8, | 315 DEFINE_INT(concurrent_recompilation_queue_length, 8, | 
| 319            "the length of the concurrent compilation queue") | 316            "the length of the concurrent compilation queue") | 
| 320 DEFINE_INT(concurrent_recompilation_delay, 0, | 317 DEFINE_INT(concurrent_recompilation_delay, 0, | 
| 321            "artificial compilation delay in ms") | 318            "artificial compilation delay in ms") | 
| 322 DEFINE_BOOL(block_concurrent_recompilation, false, | 319 DEFINE_BOOL(block_concurrent_recompilation, false, | 
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 926 #undef DEFINE_ALIAS_FLOAT | 923 #undef DEFINE_ALIAS_FLOAT | 
| 927 #undef DEFINE_ALIAS_ARGS | 924 #undef DEFINE_ALIAS_ARGS | 
| 928 | 925 | 
| 929 #undef FLAG_MODE_DECLARE | 926 #undef FLAG_MODE_DECLARE | 
| 930 #undef FLAG_MODE_DEFINE | 927 #undef FLAG_MODE_DEFINE | 
| 931 #undef FLAG_MODE_DEFINE_DEFAULTS | 928 #undef FLAG_MODE_DEFINE_DEFAULTS | 
| 932 #undef FLAG_MODE_META | 929 #undef FLAG_MODE_META | 
| 933 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 930 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 
| 934 | 931 | 
| 935 #undef COMMA | 932 #undef COMMA | 
| OLD | NEW | 
|---|