| 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 "crankshaft harvests type feedback from stub cache") | 264 "crankshaft harvests type feedback from stub cache") |
| 265 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") | 265 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") |
| 266 DEFINE_bool(trace_check_elimination, false, "trace check elimination phase") | 266 DEFINE_bool(trace_check_elimination, false, "trace check elimination phase") |
| 267 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") | 267 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") |
| 268 DEFINE_string(trace_hydrogen_filter, "*", "hydrogen tracing filter") | 268 DEFINE_string(trace_hydrogen_filter, "*", "hydrogen tracing filter") |
| 269 DEFINE_bool(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs") | 269 DEFINE_bool(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs") |
| 270 DEFINE_string(trace_hydrogen_file, NULL, "trace hydrogen to given file name") | 270 DEFINE_string(trace_hydrogen_file, NULL, "trace hydrogen to given file name") |
| 271 DEFINE_string(trace_phase, "HLZ", "trace generated IR for specified phases") | 271 DEFINE_string(trace_phase, "HLZ", "trace generated IR for specified phases") |
| 272 DEFINE_bool(trace_inlining, false, "trace inlining decisions") | 272 DEFINE_bool(trace_inlining, false, "trace inlining decisions") |
| 273 DEFINE_bool(trace_load_elimination, false, "trace load elimination") | 273 DEFINE_bool(trace_load_elimination, false, "trace load elimination") |
| 274 DEFINE_bool(trace_store_elimination, false, "trace store elimination") |
| 274 DEFINE_bool(trace_alloc, false, "trace register allocator") | 275 DEFINE_bool(trace_alloc, false, "trace register allocator") |
| 275 DEFINE_bool(trace_all_uses, false, "trace all use positions") | 276 DEFINE_bool(trace_all_uses, false, "trace all use positions") |
| 276 DEFINE_bool(trace_range, false, "trace range analysis") | 277 DEFINE_bool(trace_range, false, "trace range analysis") |
| 277 DEFINE_bool(trace_gvn, false, "trace global value numbering") | 278 DEFINE_bool(trace_gvn, false, "trace global value numbering") |
| 278 DEFINE_bool(trace_representation, false, "trace representation types") | 279 DEFINE_bool(trace_representation, false, "trace representation types") |
| 279 DEFINE_bool(trace_escape_analysis, false, "trace hydrogen escape analysis") | 280 DEFINE_bool(trace_escape_analysis, false, "trace hydrogen escape analysis") |
| 280 DEFINE_bool(trace_allocation_folding, false, "trace allocation folding") | 281 DEFINE_bool(trace_allocation_folding, false, "trace allocation folding") |
| 281 DEFINE_bool(trace_track_allocation_sites, false, | 282 DEFINE_bool(trace_track_allocation_sites, false, |
| 282 "trace the tracking of allocation sites") | 283 "trace the tracking of allocation sites") |
| 283 DEFINE_bool(trace_migration, false, "trace object migration") | 284 DEFINE_bool(trace_migration, false, "trace object migration") |
| (...skipping 14 matching lines...) Expand all Loading... |
| 298 DEFINE_bool(array_bounds_checks_elimination, true, | 299 DEFINE_bool(array_bounds_checks_elimination, true, |
| 299 "perform array bounds checks elimination") | 300 "perform array bounds checks elimination") |
| 300 DEFINE_bool(array_bounds_checks_hoisting, false, | 301 DEFINE_bool(array_bounds_checks_hoisting, false, |
| 301 "perform array bounds checks hoisting") | 302 "perform array bounds checks hoisting") |
| 302 DEFINE_bool(array_index_dehoisting, true, | 303 DEFINE_bool(array_index_dehoisting, true, |
| 303 "perform array index dehoisting") | 304 "perform array index dehoisting") |
| 304 DEFINE_bool(analyze_environment_liveness, true, | 305 DEFINE_bool(analyze_environment_liveness, true, |
| 305 "analyze liveness of environment slots and zap dead values") | 306 "analyze liveness of environment slots and zap dead values") |
| 306 DEFINE_bool(load_elimination, true, "use load elimination") | 307 DEFINE_bool(load_elimination, true, "use load elimination") |
| 307 DEFINE_bool(check_elimination, true, "use check elimination") | 308 DEFINE_bool(check_elimination, true, "use check elimination") |
| 309 DEFINE_bool(store_elimination, true, "use store elimination") |
| 308 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") | 310 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
| 309 DEFINE_bool(fold_constants, true, "use constant folding") | 311 DEFINE_bool(fold_constants, true, "use constant folding") |
| 310 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 312 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
| 311 DEFINE_bool(unreachable_code_elimination, true, "eliminate unreachable code") | 313 DEFINE_bool(unreachable_code_elimination, true, "eliminate unreachable code") |
| 312 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 314 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
| 313 DEFINE_int(stress_runs, 0, "number of stress runs") | 315 DEFINE_int(stress_runs, 0, "number of stress runs") |
| 314 DEFINE_bool(optimize_closures, true, "optimize closures") | 316 DEFINE_bool(optimize_closures, true, "optimize closures") |
| 315 DEFINE_bool(lookup_sample_by_shared, true, | 317 DEFINE_bool(lookup_sample_by_shared, true, |
| 316 "when picking a function to optimize, watch for shared function " | 318 "when picking a function to optimize, watch for shared function " |
| 317 "info, not JSFunction itself") | 319 "info, not JSFunction itself") |
| (...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 890 #undef DEFINE_ALIAS_float | 892 #undef DEFINE_ALIAS_float |
| 891 #undef DEFINE_ALIAS_args | 893 #undef DEFINE_ALIAS_args |
| 892 | 894 |
| 893 #undef FLAG_MODE_DECLARE | 895 #undef FLAG_MODE_DECLARE |
| 894 #undef FLAG_MODE_DEFINE | 896 #undef FLAG_MODE_DEFINE |
| 895 #undef FLAG_MODE_DEFINE_DEFAULTS | 897 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 896 #undef FLAG_MODE_META | 898 #undef FLAG_MODE_META |
| 897 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 899 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 898 | 900 |
| 899 #undef COMMA | 901 #undef COMMA |
| OLD | NEW |