OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 "when picking a function to optimize, watch for shared function " | 298 "when picking a function to optimize, watch for shared function " |
299 "info, not JSFunction itself") | 299 "info, not JSFunction itself") |
300 DEFINE_bool(cache_optimized_code, true, | 300 DEFINE_bool(cache_optimized_code, true, |
301 "cache optimized code for closures") | 301 "cache optimized code for closures") |
302 DEFINE_bool(flush_optimized_code_cache, true, | 302 DEFINE_bool(flush_optimized_code_cache, true, |
303 "flushes the cache of optimized code for closures on every GC") | 303 "flushes the cache of optimized code for closures on every GC") |
304 DEFINE_bool(inline_construct, true, "inline constructor calls") | 304 DEFINE_bool(inline_construct, true, "inline constructor calls") |
305 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") | 305 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") |
306 DEFINE_bool(inline_accessors, true, "inline JavaScript accessors") | 306 DEFINE_bool(inline_accessors, true, "inline JavaScript accessors") |
307 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 307 DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
| 308 DEFINE_int(escape_analysis_iterations, 1, |
| 309 "maximum number of escape analysis fix-point iterations") |
308 | 310 |
309 DEFINE_bool(optimize_for_in, true, | 311 DEFINE_bool(optimize_for_in, true, |
310 "optimize functions containing for-in loops") | 312 "optimize functions containing for-in loops") |
311 DEFINE_bool(opt_safe_uint32_operations, true, | 313 DEFINE_bool(opt_safe_uint32_operations, true, |
312 "allow uint32 values on optimize frames if they are used only in " | 314 "allow uint32 values on optimize frames if they are used only in " |
313 "safe operations") | 315 "safe operations") |
314 | 316 |
315 DEFINE_bool(concurrent_recompilation, true, | 317 DEFINE_bool(concurrent_recompilation, true, |
316 "optimizing hot functions asynchronously on a separate thread") | 318 "optimizing hot functions asynchronously on a separate thread") |
317 DEFINE_bool(trace_concurrent_recompilation, false, | 319 DEFINE_bool(trace_concurrent_recompilation, false, |
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 #undef DEFINE_ALIAS_float | 852 #undef DEFINE_ALIAS_float |
851 #undef DEFINE_ALIAS_args | 853 #undef DEFINE_ALIAS_args |
852 | 854 |
853 #undef FLAG_MODE_DECLARE | 855 #undef FLAG_MODE_DECLARE |
854 #undef FLAG_MODE_DEFINE | 856 #undef FLAG_MODE_DEFINE |
855 #undef FLAG_MODE_DEFINE_DEFAULTS | 857 #undef FLAG_MODE_DEFINE_DEFAULTS |
856 #undef FLAG_MODE_META | 858 #undef FLAG_MODE_META |
857 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 859 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
858 | 860 |
859 #undef COMMA | 861 #undef COMMA |
OLD | NEW |