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