| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_canonicalizing, true, "use hydrogen instruction canonicalizing") | 175 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
| 176 DEFINE_bool(use_inlining, true, "use function inlining") | 176 DEFINE_bool(use_inlining, true, "use function inlining") |
| 177 DEFINE_int(max_inlined_source_size, 600, | 177 DEFINE_int(max_inlined_source_size, 600, |
| 178 "maximum source size in bytes considered for a single inlining") | 178 "maximum source size in bytes considered for a single inlining") |
| 179 DEFINE_int(max_inlined_nodes, 196, | 179 DEFINE_int(max_inlined_nodes, 196, |
| 180 "maximum number of AST nodes considered for a single inlining") | 180 "maximum number of AST nodes considered for a single inlining") |
| 181 DEFINE_int(max_inlined_nodes_cumulative, 196, | 181 DEFINE_int(max_inlined_nodes_cumulative, 196, |
| 182 "maximum cumulative number of AST nodes considered for inlining") | 182 "maximum cumulative number of AST nodes considered for inlining") |
| 183 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") | 183 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") |
| 184 DEFINE_bool(array_prefetch_hint, true, "insert array prefetching hints") |
| 184 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") | 185 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") |
| 185 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, | 186 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, |
| 186 true, | 187 true, |
| 187 "crankshaft harvests type feedback from stub cache") | 188 "crankshaft harvests type feedback from stub cache") |
| 188 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") | 189 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") |
| 189 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") | 190 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") |
| 190 DEFINE_string(trace_phase, "Z", "trace generated IR for specified phases") | 191 DEFINE_string(trace_phase, "Z", "trace generated IR for specified phases") |
| 191 DEFINE_bool(trace_inlining, false, "trace inlining decisions") | 192 DEFINE_bool(trace_inlining, false, "trace inlining decisions") |
| 192 DEFINE_bool(trace_alloc, false, "trace register allocator") | 193 DEFINE_bool(trace_alloc, false, "trace register allocator") |
| 193 DEFINE_bool(trace_all_uses, false, "trace all use positions") | 194 DEFINE_bool(trace_all_uses, false, "trace all use positions") |
| 194 DEFINE_bool(trace_range, false, "trace range analysis") | 195 DEFINE_bool(trace_range, false, "trace range analysis") |
| 195 DEFINE_bool(trace_gvn, false, "trace global value numbering") | 196 DEFINE_bool(trace_gvn, false, "trace global value numbering") |
| 197 DEFINE_bool(trace_prefetch_hint, false, "trace array prefetch hint") |
| 196 DEFINE_bool(trace_representation, false, "trace representation types") | 198 DEFINE_bool(trace_representation, false, "trace representation types") |
| 197 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") | 199 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") |
| 198 DEFINE_bool(stress_environments, false, "environment for every instruction") | 200 DEFINE_bool(stress_environments, false, "environment for every instruction") |
| 199 DEFINE_int(deopt_every_n_times, | 201 DEFINE_int(deopt_every_n_times, |
| 200 0, | 202 0, |
| 201 "deoptimize every n times a deopt point is passed") | 203 "deoptimize every n times a deopt point is passed") |
| 202 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 204 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") |
| 203 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 205 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
| 204 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 206 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
| 205 DEFINE_bool(use_osr, true, "use on-stack replacement") | 207 DEFINE_bool(use_osr, true, "use on-stack replacement") |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 #undef DEFINE_bool | 722 #undef DEFINE_bool |
| 721 #undef DEFINE_int | 723 #undef DEFINE_int |
| 722 #undef DEFINE_string | 724 #undef DEFINE_string |
| 723 #undef DEFINE_implication | 725 #undef DEFINE_implication |
| 724 | 726 |
| 725 #undef FLAG_MODE_DECLARE | 727 #undef FLAG_MODE_DECLARE |
| 726 #undef FLAG_MODE_DEFINE | 728 #undef FLAG_MODE_DEFINE |
| 727 #undef FLAG_MODE_DEFINE_DEFAULTS | 729 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 728 #undef FLAG_MODE_META | 730 #undef FLAG_MODE_META |
| 729 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 731 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |