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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 0, | 195 0, |
196 "deoptimize every n times a deopt point is passed") | 196 "deoptimize every n times a deopt point is passed") |
197 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 197 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") |
198 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 198 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
199 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 199 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
200 DEFINE_bool(use_osr, true, "use on-stack replacement") | 200 DEFINE_bool(use_osr, true, "use on-stack replacement") |
201 DEFINE_bool(array_bounds_checks_elimination, true, | 201 DEFINE_bool(array_bounds_checks_elimination, true, |
202 "perform array bounds checks elimination") | 202 "perform array bounds checks elimination") |
203 DEFINE_bool(array_index_dehoisting, true, | 203 DEFINE_bool(array_index_dehoisting, true, |
204 "perform array index dehoisting") | 204 "perform array index dehoisting") |
| 205 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
| 206 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
205 | 207 |
206 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 208 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
207 DEFINE_int(stress_runs, 0, "number of stress runs") | 209 DEFINE_int(stress_runs, 0, "number of stress runs") |
208 DEFINE_bool(optimize_closures, true, "optimize closures") | 210 DEFINE_bool(optimize_closures, true, "optimize closures") |
209 DEFINE_bool(lookup_sample_by_shared, true, | 211 DEFINE_bool(lookup_sample_by_shared, true, |
210 "when picking a function to optimize, watch for shared function " | 212 "when picking a function to optimize, watch for shared function " |
211 "info, not JSFunction itself") | 213 "info, not JSFunction itself") |
212 DEFINE_bool(cache_optimized_code, true, | 214 DEFINE_bool(cache_optimized_code, true, |
213 "cache optimized code for closures") | 215 "cache optimized code for closures") |
214 DEFINE_bool(inline_construct, true, "inline constructor calls") | 216 DEFINE_bool(inline_construct, true, "inline constructor calls") |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 #undef DEFINE_bool | 699 #undef DEFINE_bool |
698 #undef DEFINE_int | 700 #undef DEFINE_int |
699 #undef DEFINE_string | 701 #undef DEFINE_string |
700 #undef DEFINE_implication | 702 #undef DEFINE_implication |
701 | 703 |
702 #undef FLAG_MODE_DECLARE | 704 #undef FLAG_MODE_DECLARE |
703 #undef FLAG_MODE_DEFINE | 705 #undef FLAG_MODE_DEFINE |
704 #undef FLAG_MODE_DEFINE_DEFAULTS | 706 #undef FLAG_MODE_DEFINE_DEFAULTS |
705 #undef FLAG_MODE_META | 707 #undef FLAG_MODE_META |
706 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 708 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |