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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 DEFINE_implication(harmony, harmony_collections) | 156 DEFINE_implication(harmony, harmony_collections) |
157 DEFINE_implication(harmony, harmony_observation) | 157 DEFINE_implication(harmony, harmony_observation) |
158 DEFINE_implication(harmony_modules, harmony_scoping) | 158 DEFINE_implication(harmony_modules, harmony_scoping) |
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(compiled_keyed_stores, false, "use optimizing compiler to " |
| 167 "generate keyed store stubs") |
166 DEFINE_bool(clever_optimizations, | 168 DEFINE_bool(clever_optimizations, |
167 true, | 169 true, |
168 "Optimize object size, Array shift, DOM strings and string +") | 170 "Optimize object size, Array shift, DOM strings and string +") |
169 | 171 |
170 // Flags for data representation optimizations | 172 // Flags for data representation optimizations |
171 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 173 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
172 DEFINE_bool(string_slices, true, "use string slices") | 174 DEFINE_bool(string_slices, true, "use string slices") |
173 | 175 |
174 // Flags for Crankshaft. | 176 // Flags for Crankshaft. |
175 DEFINE_bool(crankshaft, true, "use crankshaft") | 177 DEFINE_bool(crankshaft, true, "use crankshaft") |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 #undef DEFINE_bool | 751 #undef DEFINE_bool |
750 #undef DEFINE_int | 752 #undef DEFINE_int |
751 #undef DEFINE_string | 753 #undef DEFINE_string |
752 #undef DEFINE_implication | 754 #undef DEFINE_implication |
753 | 755 |
754 #undef FLAG_MODE_DECLARE | 756 #undef FLAG_MODE_DECLARE |
755 #undef FLAG_MODE_DEFINE | 757 #undef FLAG_MODE_DEFINE |
756 #undef FLAG_MODE_DEFINE_DEFAULTS | 758 #undef FLAG_MODE_DEFINE_DEFAULTS |
757 #undef FLAG_MODE_META | 759 #undef FLAG_MODE_META |
758 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 760 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |