| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 // Flags for data representation optimizations | 165 // Flags for data representation optimizations |
| 166 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 166 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
| 167 DEFINE_bool(string_slices, true, "use string slices") | 167 DEFINE_bool(string_slices, true, "use string slices") |
| 168 | 168 |
| 169 // Flags for Crankshaft. | 169 // Flags for Crankshaft. |
| 170 DEFINE_bool(crankshaft, true, "use crankshaft") | 170 DEFINE_bool(crankshaft, true, "use crankshaft") |
| 171 DEFINE_string(hydrogen_filter, "", "optimization filter") | 171 DEFINE_string(hydrogen_filter, "", "optimization filter") |
| 172 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 172 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
| 173 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") | 173 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") |
| 174 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") | 174 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") |
| 175 DEFINE_bool(use_place_elements_transitions, |
| 176 true, |
| 177 "use optimized placement of elements transitions") |
| 175 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 178 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
| 176 DEFINE_bool(use_inlining, true, "use function inlining") | 179 DEFINE_bool(use_inlining, true, "use function inlining") |
| 177 DEFINE_int(max_inlined_source_size, 600, | 180 DEFINE_int(max_inlined_source_size, 600, |
| 178 "maximum source size in bytes considered for a single inlining") | 181 "maximum source size in bytes considered for a single inlining") |
| 179 DEFINE_int(max_inlined_nodes, 196, | 182 DEFINE_int(max_inlined_nodes, 196, |
| 180 "maximum number of AST nodes considered for a single inlining") | 183 "maximum number of AST nodes considered for a single inlining") |
| 181 DEFINE_int(max_inlined_nodes_cumulative, 196, | 184 DEFINE_int(max_inlined_nodes_cumulative, 196, |
| 182 "maximum cumulative number of AST nodes considered for inlining") | 185 "maximum cumulative number of AST nodes considered for inlining") |
| 183 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") | 186 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") |
| 184 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") | 187 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") |
| 185 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, | 188 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, |
| 186 true, | 189 true, |
| 187 "crankshaft harvests type feedback from stub cache") | 190 "crankshaft harvests type feedback from stub cache") |
| 188 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") | 191 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") |
| 189 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") | 192 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") |
| 190 DEFINE_string(trace_phase, "Z", "trace generated IR for specified phases") | 193 DEFINE_string(trace_phase, "Z", "trace generated IR for specified phases") |
| 191 DEFINE_bool(trace_inlining, false, "trace inlining decisions") | 194 DEFINE_bool(trace_inlining, false, "trace inlining decisions") |
| 192 DEFINE_bool(trace_alloc, false, "trace register allocator") | 195 DEFINE_bool(trace_alloc, false, "trace register allocator") |
| 193 DEFINE_bool(trace_all_uses, false, "trace all use positions") | 196 DEFINE_bool(trace_all_uses, false, "trace all use positions") |
| 194 DEFINE_bool(trace_range, false, "trace range analysis") | 197 DEFINE_bool(trace_range, false, "trace range analysis") |
| 198 DEFINE_bool(trace_transition_placement, |
| 199 false, |
| 200 "trace elementskind transition placement") |
| 195 DEFINE_bool(trace_gvn, false, "trace global value numbering") | 201 DEFINE_bool(trace_gvn, false, "trace global value numbering") |
| 196 DEFINE_bool(trace_representation, false, "trace representation types") | 202 DEFINE_bool(trace_representation, false, "trace representation types") |
| 197 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") | 203 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") |
| 198 DEFINE_bool(stress_environments, false, "environment for every instruction") | 204 DEFINE_bool(stress_environments, false, "environment for every instruction") |
| 199 DEFINE_int(deopt_every_n_times, | 205 DEFINE_int(deopt_every_n_times, |
| 200 0, | 206 0, |
| 201 "deoptimize every n times a deopt point is passed") | 207 "deoptimize every n times a deopt point is passed") |
| 202 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 208 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") |
| 203 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 209 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
| 204 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 210 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
| (...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 #undef DEFINE_bool | 723 #undef DEFINE_bool |
| 718 #undef DEFINE_int | 724 #undef DEFINE_int |
| 719 #undef DEFINE_string | 725 #undef DEFINE_string |
| 720 #undef DEFINE_implication | 726 #undef DEFINE_implication |
| 721 | 727 |
| 722 #undef FLAG_MODE_DECLARE | 728 #undef FLAG_MODE_DECLARE |
| 723 #undef FLAG_MODE_DEFINE | 729 #undef FLAG_MODE_DEFINE |
| 724 #undef FLAG_MODE_DEFINE_DEFAULTS | 730 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 725 #undef FLAG_MODE_META | 731 #undef FLAG_MODE_META |
| 726 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 732 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |