| 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 DEFINE_bool(array_bounds_checks_elimination, true, | 211 DEFINE_bool(array_bounds_checks_elimination, true, |
| 212 "perform array bounds checks elimination") | 212 "perform array bounds checks elimination") |
| 213 DEFINE_bool(array_index_dehoisting, true, | 213 DEFINE_bool(array_index_dehoisting, true, |
| 214 "perform array index dehoisting") | 214 "perform array index dehoisting") |
| 215 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") | 215 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
| 216 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 216 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
| 217 DEFINE_bool(unreachable_code_elimination, false, | 217 DEFINE_bool(unreachable_code_elimination, false, |
| 218 "eliminate unreachable code (hidden behind soft deopts)") | 218 "eliminate unreachable code (hidden behind soft deopts)") |
| 219 DEFINE_bool(track_allocation_sites, true, | 219 DEFINE_bool(track_allocation_sites, true, |
| 220 "Use allocation site info to reduce transitions") | 220 "Use allocation site info to reduce transitions") |
| 221 DEFINE_bool(optimize_constructed_arrays, false, |
| 222 "Use allocation site info on constructed arrays") |
| 221 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 223 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
| 222 DEFINE_int(stress_runs, 0, "number of stress runs") | 224 DEFINE_int(stress_runs, 0, "number of stress runs") |
| 223 DEFINE_bool(optimize_closures, true, "optimize closures") | 225 DEFINE_bool(optimize_closures, true, "optimize closures") |
| 224 DEFINE_bool(lookup_sample_by_shared, true, | 226 DEFINE_bool(lookup_sample_by_shared, true, |
| 225 "when picking a function to optimize, watch for shared function " | 227 "when picking a function to optimize, watch for shared function " |
| 226 "info, not JSFunction itself") | 228 "info, not JSFunction itself") |
| 227 DEFINE_bool(cache_optimized_code, true, | 229 DEFINE_bool(cache_optimized_code, true, |
| 228 "cache optimized code for closures") | 230 "cache optimized code for closures") |
| 229 DEFINE_bool(inline_construct, true, "inline constructor calls") | 231 DEFINE_bool(inline_construct, true, "inline constructor calls") |
| 230 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") | 232 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 #undef DEFINE_bool | 743 #undef DEFINE_bool |
| 742 #undef DEFINE_int | 744 #undef DEFINE_int |
| 743 #undef DEFINE_string | 745 #undef DEFINE_string |
| 744 #undef DEFINE_implication | 746 #undef DEFINE_implication |
| 745 | 747 |
| 746 #undef FLAG_MODE_DECLARE | 748 #undef FLAG_MODE_DECLARE |
| 747 #undef FLAG_MODE_DEFINE | 749 #undef FLAG_MODE_DEFINE |
| 748 #undef FLAG_MODE_DEFINE_DEFAULTS | 750 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 749 #undef FLAG_MODE_META | 751 #undef FLAG_MODE_META |
| 750 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 752 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |