| 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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 "perform array bounds checks hoisting") | 287 "perform array bounds checks hoisting") |
| 288 DEFINE_bool(array_index_dehoisting, true, | 288 DEFINE_bool(array_index_dehoisting, true, |
| 289 "perform array index dehoisting") | 289 "perform array index dehoisting") |
| 290 DEFINE_bool(analyze_environment_liveness, true, | 290 DEFINE_bool(analyze_environment_liveness, true, |
| 291 "analyze liveness of environment slots and zap dead values") | 291 "analyze liveness of environment slots and zap dead values") |
| 292 DEFINE_bool(load_elimination, false, "use load elimination") | 292 DEFINE_bool(load_elimination, false, "use load elimination") |
| 293 DEFINE_bool(check_elimination, false, "use check elimination") | 293 DEFINE_bool(check_elimination, false, "use check elimination") |
| 294 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") | 294 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
| 295 DEFINE_bool(fold_constants, true, "use constant folding") | 295 DEFINE_bool(fold_constants, true, "use constant folding") |
| 296 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 296 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
| 297 DEFINE_bool(unreachable_code_elimination, false, | 297 DEFINE_bool(unreachable_code_elimination, true, "eliminate unreachable code") |
| 298 "eliminate unreachable code (hidden behind soft deopts)") | |
| 299 DEFINE_bool(track_allocation_sites, true, | 298 DEFINE_bool(track_allocation_sites, true, |
| 300 "Use allocation site info to reduce transitions") | 299 "Use allocation site info to reduce transitions") |
| 301 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 300 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
| 302 DEFINE_int(stress_runs, 0, "number of stress runs") | 301 DEFINE_int(stress_runs, 0, "number of stress runs") |
| 303 DEFINE_bool(optimize_closures, true, "optimize closures") | 302 DEFINE_bool(optimize_closures, true, "optimize closures") |
| 304 DEFINE_bool(lookup_sample_by_shared, true, | 303 DEFINE_bool(lookup_sample_by_shared, true, |
| 305 "when picking a function to optimize, watch for shared function " | 304 "when picking a function to optimize, watch for shared function " |
| 306 "info, not JSFunction itself") | 305 "info, not JSFunction itself") |
| 307 DEFINE_bool(cache_optimized_code, true, | 306 DEFINE_bool(cache_optimized_code, true, |
| 308 "cache optimized code for closures") | 307 "cache optimized code for closures") |
| (...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 #undef DEFINE_ALIAS_float | 851 #undef DEFINE_ALIAS_float |
| 853 #undef DEFINE_ALIAS_args | 852 #undef DEFINE_ALIAS_args |
| 854 | 853 |
| 855 #undef FLAG_MODE_DECLARE | 854 #undef FLAG_MODE_DECLARE |
| 856 #undef FLAG_MODE_DEFINE | 855 #undef FLAG_MODE_DEFINE |
| 857 #undef FLAG_MODE_DEFINE_DEFAULTS | 856 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 858 #undef FLAG_MODE_META | 857 #undef FLAG_MODE_META |
| 859 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 858 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 860 | 859 |
| 861 #undef COMMA | 860 #undef COMMA |
| OLD | NEW |