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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
163 DEFINE_bool(string_slices, true, "use string slices") | 163 DEFINE_bool(string_slices, true, "use string slices") |
164 | 164 |
165 // Flags for Crankshaft. | 165 // Flags for Crankshaft. |
166 DEFINE_bool(crankshaft, true, "use crankshaft") | 166 DEFINE_bool(crankshaft, true, "use crankshaft") |
167 DEFINE_string(hydrogen_filter, "", "optimization filter") | 167 DEFINE_string(hydrogen_filter, "", "optimization filter") |
168 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 168 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
169 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") | 169 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") |
170 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") | 170 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") |
171 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 171 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
172 DEFINE_bool(use_inlining, true, "use function inlining") | 172 DEFINE_bool(use_inlining, true, "use function inlining") |
173 DEFINE_bool(inline_accessors, false, | |
174 "inline JavaScript accessors (not fully functional yet)") | |
Michael Starzinger
2012/07/30 09:38:43
Can we move that down to the other inline flags li
Sven Panne
2012/07/30 10:41:55
Done.
| |
173 DEFINE_int(max_inlined_source_size, 600, | 175 DEFINE_int(max_inlined_source_size, 600, |
174 "maximum source size in bytes considered for a single inlining") | 176 "maximum source size in bytes considered for a single inlining") |
175 DEFINE_int(max_inlined_nodes, 196, | 177 DEFINE_int(max_inlined_nodes, 196, |
176 "maximum number of AST nodes considered for a single inlining") | 178 "maximum number of AST nodes considered for a single inlining") |
177 DEFINE_int(max_inlined_nodes_cumulative, 196, | 179 DEFINE_int(max_inlined_nodes_cumulative, 196, |
178 "maximum cumulative number of AST nodes considered for inlining") | 180 "maximum cumulative number of AST nodes considered for inlining") |
179 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") | 181 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") |
180 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, | 182 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, |
181 true, | 183 true, |
182 "crankshaft harvests type feedback from stub cache") | 184 "crankshaft harvests type feedback from stub cache") |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
679 #undef DEFINE_bool | 681 #undef DEFINE_bool |
680 #undef DEFINE_int | 682 #undef DEFINE_int |
681 #undef DEFINE_string | 683 #undef DEFINE_string |
682 #undef DEFINE_implication | 684 #undef DEFINE_implication |
683 | 685 |
684 #undef FLAG_MODE_DECLARE | 686 #undef FLAG_MODE_DECLARE |
685 #undef FLAG_MODE_DEFINE | 687 #undef FLAG_MODE_DEFINE |
686 #undef FLAG_MODE_DEFINE_DEFAULTS | 688 #undef FLAG_MODE_DEFINE_DEFAULTS |
687 #undef FLAG_MODE_META | 689 #undef FLAG_MODE_META |
688 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 690 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |