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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 "perform array bounds checks elimination") | 245 "perform array bounds checks elimination") |
246 DEFINE_bool(array_index_dehoisting, true, | 246 DEFINE_bool(array_index_dehoisting, true, |
247 "perform array index dehoisting") | 247 "perform array index dehoisting") |
248 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") | 248 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
249 DEFINE_bool(fold_constants, true, "use constant folding") | 249 DEFINE_bool(fold_constants, true, "use constant folding") |
250 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 250 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
251 DEFINE_bool(unreachable_code_elimination, false, | 251 DEFINE_bool(unreachable_code_elimination, false, |
252 "eliminate unreachable code (hidden behind soft deopts)") | 252 "eliminate unreachable code (hidden behind soft deopts)") |
253 DEFINE_bool(track_allocation_sites, true, | 253 DEFINE_bool(track_allocation_sites, true, |
254 "Use allocation site info to reduce transitions") | 254 "Use allocation site info to reduce transitions") |
255 DEFINE_bool(optimize_constructed_arrays, false, | 255 DEFINE_bool(optimize_constructed_arrays, true, |
256 "Use allocation site info on constructed arrays") | 256 "Use allocation site info on constructed arrays") |
257 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 257 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
258 DEFINE_int(stress_runs, 0, "number of stress runs") | 258 DEFINE_int(stress_runs, 0, "number of stress runs") |
259 DEFINE_bool(optimize_closures, true, "optimize closures") | 259 DEFINE_bool(optimize_closures, true, "optimize closures") |
260 DEFINE_bool(lookup_sample_by_shared, true, | 260 DEFINE_bool(lookup_sample_by_shared, true, |
261 "when picking a function to optimize, watch for shared function " | 261 "when picking a function to optimize, watch for shared function " |
262 "info, not JSFunction itself") | 262 "info, not JSFunction itself") |
263 DEFINE_bool(cache_optimized_code, true, | 263 DEFINE_bool(cache_optimized_code, true, |
264 "cache optimized code for closures") | 264 "cache optimized code for closures") |
265 DEFINE_bool(inline_construct, true, "inline constructor calls") | 265 DEFINE_bool(inline_construct, true, "inline constructor calls") |
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 #undef DEFINE_bool | 778 #undef DEFINE_bool |
779 #undef DEFINE_int | 779 #undef DEFINE_int |
780 #undef DEFINE_string | 780 #undef DEFINE_string |
781 #undef DEFINE_implication | 781 #undef DEFINE_implication |
782 | 782 |
783 #undef FLAG_MODE_DECLARE | 783 #undef FLAG_MODE_DECLARE |
784 #undef FLAG_MODE_DEFINE | 784 #undef FLAG_MODE_DEFINE |
785 #undef FLAG_MODE_DEFINE_DEFAULTS | 785 #undef FLAG_MODE_DEFINE_DEFAULTS |
786 #undef FLAG_MODE_META | 786 #undef FLAG_MODE_META |
787 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 787 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |