| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 "perform array bounds checks elimination") | 223 "perform array bounds checks elimination") |
| 224 DEFINE_bool(array_index_dehoisting, true, | 224 DEFINE_bool(array_index_dehoisting, true, |
| 225 "perform array index dehoisting") | 225 "perform array index dehoisting") |
| 226 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") | 226 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
| 227 DEFINE_bool(fold_constants, true, "use constant folding") | 227 DEFINE_bool(fold_constants, true, "use constant folding") |
| 228 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 228 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
| 229 DEFINE_bool(unreachable_code_elimination, false, | 229 DEFINE_bool(unreachable_code_elimination, false, |
| 230 "eliminate unreachable code (hidden behind soft deopts)") | 230 "eliminate unreachable code (hidden behind soft deopts)") |
| 231 DEFINE_bool(track_allocation_sites, true, | 231 DEFINE_bool(track_allocation_sites, true, |
| 232 "Use allocation site info to reduce transitions") | 232 "Use allocation site info to reduce transitions") |
| 233 DEFINE_bool(optimize_constructed_arrays, false, | 233 DEFINE_bool(optimize_constructed_arrays, true, |
| 234 "Use allocation site info on constructed arrays") | 234 "Use allocation site info on constructed arrays") |
| 235 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 235 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
| 236 DEFINE_int(stress_runs, 0, "number of stress runs") | 236 DEFINE_int(stress_runs, 0, "number of stress runs") |
| 237 DEFINE_bool(optimize_closures, true, "optimize closures") | 237 DEFINE_bool(optimize_closures, true, "optimize closures") |
| 238 DEFINE_bool(lookup_sample_by_shared, true, | 238 DEFINE_bool(lookup_sample_by_shared, true, |
| 239 "when picking a function to optimize, watch for shared function " | 239 "when picking a function to optimize, watch for shared function " |
| 240 "info, not JSFunction itself") | 240 "info, not JSFunction itself") |
| 241 DEFINE_bool(cache_optimized_code, true, | 241 DEFINE_bool(cache_optimized_code, true, |
| 242 "cache optimized code for closures") | 242 "cache optimized code for closures") |
| 243 DEFINE_bool(inline_construct, true, "inline constructor calls") | 243 DEFINE_bool(inline_construct, true, "inline constructor calls") |
| (...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 #undef DEFINE_bool | 756 #undef DEFINE_bool |
| 757 #undef DEFINE_int | 757 #undef DEFINE_int |
| 758 #undef DEFINE_string | 758 #undef DEFINE_string |
| 759 #undef DEFINE_implication | 759 #undef DEFINE_implication |
| 760 | 760 |
| 761 #undef FLAG_MODE_DECLARE | 761 #undef FLAG_MODE_DECLARE |
| 762 #undef FLAG_MODE_DEFINE | 762 #undef FLAG_MODE_DEFINE |
| 763 #undef FLAG_MODE_DEFINE_DEFAULTS | 763 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 764 #undef FLAG_MODE_META | 764 #undef FLAG_MODE_META |
| 765 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 765 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |