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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(dead_code_elimination, true, "use dead code elimination") | 254 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
255 DEFINE_bool(fold_constants, true, "use constant folding") | 255 DEFINE_bool(fold_constants, true, "use constant folding") |
256 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 256 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
257 DEFINE_bool(unreachable_code_elimination, false, | 257 DEFINE_bool(unreachable_code_elimination, false, |
258 "eliminate unreachable code (hidden behind soft deopts)") | 258 "eliminate unreachable code (hidden behind soft deopts)") |
259 DEFINE_bool(track_allocation_sites, true, | 259 DEFINE_bool(track_allocation_sites, true, |
260 "Use allocation site info to reduce transitions") | 260 "Use allocation site info to reduce transitions") |
261 DEFINE_bool(optimize_constructed_arrays, true, | 261 DEFINE_bool(optimize_constructed_arrays, false, |
262 "Use allocation site info on constructed arrays") | 262 "Use allocation site info on constructed arrays") |
263 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 263 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
264 DEFINE_int(stress_runs, 0, "number of stress runs") | 264 DEFINE_int(stress_runs, 0, "number of stress runs") |
265 DEFINE_bool(optimize_closures, true, "optimize closures") | 265 DEFINE_bool(optimize_closures, true, "optimize closures") |
266 DEFINE_bool(lookup_sample_by_shared, true, | 266 DEFINE_bool(lookup_sample_by_shared, true, |
267 "when picking a function to optimize, watch for shared function " | 267 "when picking a function to optimize, watch for shared function " |
268 "info, not JSFunction itself") | 268 "info, not JSFunction itself") |
269 DEFINE_bool(cache_optimized_code, true, | 269 DEFINE_bool(cache_optimized_code, true, |
270 "cache optimized code for closures") | 270 "cache optimized code for closures") |
271 DEFINE_bool(flush_optimized_code_cache, true, | 271 DEFINE_bool(flush_optimized_code_cache, true, |
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 #undef DEFINE_bool | 787 #undef DEFINE_bool |
788 #undef DEFINE_int | 788 #undef DEFINE_int |
789 #undef DEFINE_string | 789 #undef DEFINE_string |
790 #undef DEFINE_implication | 790 #undef DEFINE_implication |
791 | 791 |
792 #undef FLAG_MODE_DECLARE | 792 #undef FLAG_MODE_DECLARE |
793 #undef FLAG_MODE_DEFINE | 793 #undef FLAG_MODE_DEFINE |
794 #undef FLAG_MODE_DEFINE_DEFAULTS | 794 #undef FLAG_MODE_DEFINE_DEFAULTS |
795 #undef FLAG_MODE_META | 795 #undef FLAG_MODE_META |
796 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 796 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |