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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 "when picking a function to optimize, watch for shared function " | 304 "when picking a function to optimize, watch for shared function " |
305 "info, not JSFunction itself") | 305 "info, not JSFunction itself") |
306 DEFINE_bool(cache_optimized_code, true, | 306 DEFINE_bool(cache_optimized_code, true, |
307 "cache optimized code for closures") | 307 "cache optimized code for closures") |
308 DEFINE_bool(flush_optimized_code_cache, true, | 308 DEFINE_bool(flush_optimized_code_cache, true, |
309 "flushes the cache of optimized code for closures on every GC") | 309 "flushes the cache of optimized code for closures on every GC") |
310 DEFINE_bool(inline_construct, true, "inline constructor calls") | 310 DEFINE_bool(inline_construct, true, "inline constructor calls") |
311 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") | 311 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") |
312 DEFINE_bool(inline_accessors, true, "inline JavaScript accessors") | 312 DEFINE_bool(inline_accessors, true, "inline JavaScript accessors") |
313 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 313 DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
314 DEFINE_int(escape_analysis_iterations, 1, | 314 DEFINE_int(escape_analysis_iterations, 2, |
315 "maximum number of escape analysis fix-point iterations") | 315 "maximum number of escape analysis fix-point iterations") |
316 | 316 |
317 DEFINE_bool(optimize_for_in, true, | 317 DEFINE_bool(optimize_for_in, true, |
318 "optimize functions containing for-in loops") | 318 "optimize functions containing for-in loops") |
319 DEFINE_bool(opt_safe_uint32_operations, true, | 319 DEFINE_bool(opt_safe_uint32_operations, true, |
320 "allow uint32 values on optimize frames if they are used only in " | 320 "allow uint32 values on optimize frames if they are used only in " |
321 "safe operations") | 321 "safe operations") |
322 | 322 |
323 DEFINE_bool(concurrent_recompilation, true, | 323 DEFINE_bool(concurrent_recompilation, true, |
324 "optimizing hot functions asynchronously on a separate thread") | 324 "optimizing hot functions asynchronously on a separate thread") |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
879 #undef DEFINE_ALIAS_float | 879 #undef DEFINE_ALIAS_float |
880 #undef DEFINE_ALIAS_args | 880 #undef DEFINE_ALIAS_args |
881 | 881 |
882 #undef FLAG_MODE_DECLARE | 882 #undef FLAG_MODE_DECLARE |
883 #undef FLAG_MODE_DEFINE | 883 #undef FLAG_MODE_DEFINE |
884 #undef FLAG_MODE_DEFINE_DEFAULTS | 884 #undef FLAG_MODE_DEFINE_DEFAULTS |
885 #undef FLAG_MODE_META | 885 #undef FLAG_MODE_META |
886 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 886 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
887 | 887 |
888 #undef COMMA | 888 #undef COMMA |
OLD | NEW |