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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 "deoptimize every n garbage collections") | 244 "deoptimize every n garbage collections") |
245 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 245 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") |
246 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 246 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
247 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 247 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
248 DEFINE_bool(use_osr, true, "use on-stack replacement") | 248 DEFINE_bool(use_osr, true, "use on-stack replacement") |
249 DEFINE_bool(idefs, false, "use informative definitions") | 249 DEFINE_bool(idefs, false, "use informative definitions") |
250 DEFINE_bool(array_bounds_checks_elimination, true, | 250 DEFINE_bool(array_bounds_checks_elimination, true, |
251 "perform array bounds checks elimination") | 251 "perform array bounds checks elimination") |
252 DEFINE_bool(array_index_dehoisting, true, | 252 DEFINE_bool(array_index_dehoisting, true, |
253 "perform array index dehoisting") | 253 "perform array index dehoisting") |
| 254 DEFINE_bool(analyze_environment_liveness, true, |
| 255 "analyze liveness of environment slots and zap dead values") |
254 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") | 256 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
255 DEFINE_bool(fold_constants, true, "use constant folding") | 257 DEFINE_bool(fold_constants, true, "use constant folding") |
256 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 258 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
257 DEFINE_bool(unreachable_code_elimination, false, | 259 DEFINE_bool(unreachable_code_elimination, false, |
258 "eliminate unreachable code (hidden behind soft deopts)") | 260 "eliminate unreachable code (hidden behind soft deopts)") |
259 DEFINE_bool(track_allocation_sites, true, | 261 DEFINE_bool(track_allocation_sites, true, |
260 "Use allocation site info to reduce transitions") | 262 "Use allocation site info to reduce transitions") |
261 DEFINE_bool(optimize_constructed_arrays, false, | 263 DEFINE_bool(optimize_constructed_arrays, false, |
262 "Use allocation site info on constructed arrays") | 264 "Use allocation site info on constructed arrays") |
263 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 265 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 #undef DEFINE_bool | 789 #undef DEFINE_bool |
788 #undef DEFINE_int | 790 #undef DEFINE_int |
789 #undef DEFINE_string | 791 #undef DEFINE_string |
790 #undef DEFINE_implication | 792 #undef DEFINE_implication |
791 | 793 |
792 #undef FLAG_MODE_DECLARE | 794 #undef FLAG_MODE_DECLARE |
793 #undef FLAG_MODE_DEFINE | 795 #undef FLAG_MODE_DEFINE |
794 #undef FLAG_MODE_DEFINE_DEFAULTS | 796 #undef FLAG_MODE_DEFINE_DEFAULTS |
795 #undef FLAG_MODE_META | 797 #undef FLAG_MODE_META |
796 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 798 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |