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