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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 "perform array index dehoisting") | 257 "perform array index dehoisting") |
258 DEFINE_bool(analyze_environment_liveness, true, | 258 DEFINE_bool(analyze_environment_liveness, true, |
259 "analyze liveness of environment slots and zap dead values") | 259 "analyze liveness of environment slots and zap dead values") |
260 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") | 260 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
261 DEFINE_bool(fold_constants, true, "use constant folding") | 261 DEFINE_bool(fold_constants, true, "use constant folding") |
262 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 262 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
263 DEFINE_bool(unreachable_code_elimination, false, | 263 DEFINE_bool(unreachable_code_elimination, false, |
264 "eliminate unreachable code (hidden behind soft deopts)") | 264 "eliminate unreachable code (hidden behind soft deopts)") |
265 DEFINE_bool(track_allocation_sites, true, | 265 DEFINE_bool(track_allocation_sites, true, |
266 "Use allocation site info to reduce transitions") | 266 "Use allocation site info to reduce transitions") |
267 DEFINE_bool(optimize_constructed_arrays, true, | |
268 "Use allocation site info on constructed arrays") | |
269 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 267 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
270 DEFINE_int(stress_runs, 0, "number of stress runs") | 268 DEFINE_int(stress_runs, 0, "number of stress runs") |
271 DEFINE_bool(optimize_closures, true, "optimize closures") | 269 DEFINE_bool(optimize_closures, true, "optimize closures") |
272 DEFINE_bool(lookup_sample_by_shared, true, | 270 DEFINE_bool(lookup_sample_by_shared, true, |
273 "when picking a function to optimize, watch for shared function " | 271 "when picking a function to optimize, watch for shared function " |
274 "info, not JSFunction itself") | 272 "info, not JSFunction itself") |
275 DEFINE_bool(cache_optimized_code, true, | 273 DEFINE_bool(cache_optimized_code, true, |
276 "cache optimized code for closures") | 274 "cache optimized code for closures") |
277 DEFINE_bool(flush_optimized_code_cache, true, | 275 DEFINE_bool(flush_optimized_code_cache, true, |
278 "flushes the cache of optimized code for closures on every GC") | 276 "flushes the cache of optimized code for closures on every GC") |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 #undef DEFINE_bool | 791 #undef DEFINE_bool |
794 #undef DEFINE_int | 792 #undef DEFINE_int |
795 #undef DEFINE_string | 793 #undef DEFINE_string |
796 #undef DEFINE_implication | 794 #undef DEFINE_implication |
797 | 795 |
798 #undef FLAG_MODE_DECLARE | 796 #undef FLAG_MODE_DECLARE |
799 #undef FLAG_MODE_DEFINE | 797 #undef FLAG_MODE_DEFINE |
800 #undef FLAG_MODE_DEFINE_DEFAULTS | 798 #undef FLAG_MODE_DEFINE_DEFAULTS |
801 #undef FLAG_MODE_META | 799 #undef FLAG_MODE_META |
802 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 800 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |