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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 DEFINE_implication(harmony_observation, harmony_collections) | 159 DEFINE_implication(harmony_observation, harmony_collections) |
160 | 160 |
161 // Flags for experimental implementation features. | 161 // Flags for experimental implementation features. |
162 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 162 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
163 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 163 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
164 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " | 164 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " |
165 "generate array elements transition stubs") | 165 "generate array elements transition stubs") |
166 DEFINE_bool(clever_optimizations, | 166 DEFINE_bool(clever_optimizations, |
167 true, | 167 true, |
168 "Optimize object size, Array shift, DOM strings and string +") | 168 "Optimize object size, Array shift, DOM strings and string +") |
| 169 DEFINE_bool(pretenure_literals, false, "allocate literals in old space") |
169 | 170 |
170 // Flags for data representation optimizations | 171 // Flags for data representation optimizations |
171 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 172 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
172 DEFINE_bool(string_slices, true, "use string slices") | 173 DEFINE_bool(string_slices, true, "use string slices") |
173 | 174 |
174 // Flags for Crankshaft. | 175 // Flags for Crankshaft. |
175 DEFINE_bool(crankshaft, true, "use crankshaft") | 176 DEFINE_bool(crankshaft, true, "use crankshaft") |
176 DEFINE_string(hydrogen_filter, "", "optimization filter") | 177 DEFINE_string(hydrogen_filter, "", "optimization filter") |
177 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 178 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
178 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") | 179 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 #undef DEFINE_bool | 753 #undef DEFINE_bool |
753 #undef DEFINE_int | 754 #undef DEFINE_int |
754 #undef DEFINE_string | 755 #undef DEFINE_string |
755 #undef DEFINE_implication | 756 #undef DEFINE_implication |
756 | 757 |
757 #undef FLAG_MODE_DECLARE | 758 #undef FLAG_MODE_DECLARE |
758 #undef FLAG_MODE_DEFINE | 759 #undef FLAG_MODE_DEFINE |
759 #undef FLAG_MODE_DEFINE_DEFAULTS | 760 #undef FLAG_MODE_DEFINE_DEFAULTS |
760 #undef FLAG_MODE_META | 761 #undef FLAG_MODE_META |
761 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 762 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |