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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 DEFINE_implication(harmony, harmony_generators) | 183 DEFINE_implication(harmony, harmony_generators) |
184 DEFINE_implication(harmony, harmony_iteration) | 184 DEFINE_implication(harmony, harmony_iteration) |
185 DEFINE_implication(harmony, harmony_numeric_literals) | 185 DEFINE_implication(harmony, harmony_numeric_literals) |
186 DEFINE_implication(harmony_modules, harmony_scoping) | 186 DEFINE_implication(harmony_modules, harmony_scoping) |
187 DEFINE_implication(harmony_observation, harmony_collections) | 187 DEFINE_implication(harmony_observation, harmony_collections) |
188 // TODO[dslomov] add harmony => harmony_typed_arrays | 188 // TODO[dslomov] add harmony => harmony_typed_arrays |
189 | 189 |
190 // Flags for experimental implementation features. | 190 // Flags for experimental implementation features. |
191 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 191 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
192 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 192 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
193 DEFINE_bool(compiled_transitions, true, "use optimizing compiler to " | |
194 "generate array elements transition stubs") | |
195 DEFINE_bool(compiled_keyed_stores, true, "use optimizing compiler to " | 193 DEFINE_bool(compiled_keyed_stores, true, "use optimizing compiler to " |
196 "generate keyed store stubs") | 194 "generate keyed store stubs") |
197 DEFINE_bool(clever_optimizations, | 195 DEFINE_bool(clever_optimizations, |
198 true, | 196 true, |
199 "Optimize object size, Array shift, DOM strings and string +") | 197 "Optimize object size, Array shift, DOM strings and string +") |
200 DEFINE_bool(pretenuring, true, "allocate objects in old space") | 198 DEFINE_bool(pretenuring, true, "allocate objects in old space") |
201 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 199 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
202 // support for specific allocation sites. | 200 // support for specific allocation sites. |
203 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") | 201 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") |
204 DEFINE_bool(track_fields, true, "track fields with only smi values") | 202 DEFINE_bool(track_fields, true, "track fields with only smi values") |
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
813 #undef DEFINE_bool | 811 #undef DEFINE_bool |
814 #undef DEFINE_int | 812 #undef DEFINE_int |
815 #undef DEFINE_string | 813 #undef DEFINE_string |
816 #undef DEFINE_implication | 814 #undef DEFINE_implication |
817 | 815 |
818 #undef FLAG_MODE_DECLARE | 816 #undef FLAG_MODE_DECLARE |
819 #undef FLAG_MODE_DEFINE | 817 #undef FLAG_MODE_DEFINE |
820 #undef FLAG_MODE_DEFINE_DEFAULTS | 818 #undef FLAG_MODE_DEFINE_DEFAULTS |
821 #undef FLAG_MODE_META | 819 #undef FLAG_MODE_META |
822 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 820 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |