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 195 matching lines...) Loading... |
206 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 206 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") |
207 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 207 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
208 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 208 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
209 DEFINE_bool(use_osr, true, "use on-stack replacement") | 209 DEFINE_bool(use_osr, true, "use on-stack replacement") |
210 DEFINE_bool(idefs, false, "use informative definitions") | 210 DEFINE_bool(idefs, false, "use informative definitions") |
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(fold_constants, true, "use constant folding") |
216 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 217 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
217 DEFINE_bool(unreachable_code_elimination, false, | 218 DEFINE_bool(unreachable_code_elimination, false, |
218 "eliminate unreachable code (hidden behind soft deopts)") | 219 "eliminate unreachable code (hidden behind soft deopts)") |
219 DEFINE_bool(track_allocation_sites, true, | 220 DEFINE_bool(track_allocation_sites, true, |
220 "Use allocation site info to reduce transitions") | 221 "Use allocation site info to reduce transitions") |
221 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 222 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
222 DEFINE_int(stress_runs, 0, "number of stress runs") | 223 DEFINE_int(stress_runs, 0, "number of stress runs") |
223 DEFINE_bool(optimize_closures, true, "optimize closures") | 224 DEFINE_bool(optimize_closures, true, "optimize closures") |
224 DEFINE_bool(lookup_sample_by_shared, true, | 225 DEFINE_bool(lookup_sample_by_shared, true, |
225 "when picking a function to optimize, watch for shared function " | 226 "when picking a function to optimize, watch for shared function " |
(...skipping 518 matching lines...) Loading... |
744 #undef DEFINE_bool | 745 #undef DEFINE_bool |
745 #undef DEFINE_int | 746 #undef DEFINE_int |
746 #undef DEFINE_string | 747 #undef DEFINE_string |
747 #undef DEFINE_implication | 748 #undef DEFINE_implication |
748 | 749 |
749 #undef FLAG_MODE_DECLARE | 750 #undef FLAG_MODE_DECLARE |
750 #undef FLAG_MODE_DEFINE | 751 #undef FLAG_MODE_DEFINE |
751 #undef FLAG_MODE_DEFINE_DEFAULTS | 752 #undef FLAG_MODE_DEFINE_DEFAULTS |
752 #undef FLAG_MODE_META | 753 #undef FLAG_MODE_META |
753 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 754 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |