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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 DEFINE_bool(array_index_dehoisting, true, | 302 DEFINE_bool(array_index_dehoisting, true, |
303 "perform array index dehoisting") | 303 "perform array index dehoisting") |
304 DEFINE_bool(analyze_environment_liveness, true, | 304 DEFINE_bool(analyze_environment_liveness, true, |
305 "analyze liveness of environment slots and zap dead values") | 305 "analyze liveness of environment slots and zap dead values") |
306 DEFINE_bool(load_elimination, true, "use load elimination") | 306 DEFINE_bool(load_elimination, true, "use load elimination") |
307 DEFINE_bool(check_elimination, false, "use check elimination") | 307 DEFINE_bool(check_elimination, false, "use check elimination") |
308 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") | 308 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
309 DEFINE_bool(fold_constants, true, "use constant folding") | 309 DEFINE_bool(fold_constants, true, "use constant folding") |
310 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 310 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
311 DEFINE_bool(unreachable_code_elimination, true, "eliminate unreachable code") | 311 DEFINE_bool(unreachable_code_elimination, true, "eliminate unreachable code") |
312 DEFINE_bool(track_allocation_sites, true, | |
313 "Use allocation site info to reduce transitions") | |
314 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 312 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
315 DEFINE_int(stress_runs, 0, "number of stress runs") | 313 DEFINE_int(stress_runs, 0, "number of stress runs") |
316 DEFINE_bool(optimize_closures, true, "optimize closures") | 314 DEFINE_bool(optimize_closures, true, "optimize closures") |
317 DEFINE_bool(lookup_sample_by_shared, true, | 315 DEFINE_bool(lookup_sample_by_shared, true, |
318 "when picking a function to optimize, watch for shared function " | 316 "when picking a function to optimize, watch for shared function " |
319 "info, not JSFunction itself") | 317 "info, not JSFunction itself") |
320 DEFINE_bool(cache_optimized_code, true, | 318 DEFINE_bool(cache_optimized_code, true, |
321 "cache optimized code for closures") | 319 "cache optimized code for closures") |
322 DEFINE_bool(flush_optimized_code_cache, true, | 320 DEFINE_bool(flush_optimized_code_cache, true, |
323 "flushes the cache of optimized code for closures on every GC") | 321 "flushes the cache of optimized code for closures on every GC") |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
897 #undef DEFINE_ALIAS_float | 895 #undef DEFINE_ALIAS_float |
898 #undef DEFINE_ALIAS_args | 896 #undef DEFINE_ALIAS_args |
899 | 897 |
900 #undef FLAG_MODE_DECLARE | 898 #undef FLAG_MODE_DECLARE |
901 #undef FLAG_MODE_DEFINE | 899 #undef FLAG_MODE_DEFINE |
902 #undef FLAG_MODE_DEFINE_DEFAULTS | 900 #undef FLAG_MODE_DEFINE_DEFAULTS |
903 #undef FLAG_MODE_META | 901 #undef FLAG_MODE_META |
904 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 902 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
905 | 903 |
906 #undef COMMA | 904 #undef COMMA |
OLD | NEW |