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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 DEFINE_bool(harmony_collections, false, | 145 DEFINE_bool(harmony_collections, false, |
146 "enable harmony collections (sets, maps, and weak maps)") | 146 "enable harmony collections (sets, maps, and weak maps)") |
147 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 147 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
148 DEFINE_implication(harmony, harmony_scoping) | 148 DEFINE_implication(harmony, harmony_scoping) |
149 DEFINE_implication(harmony, harmony_modules) | 149 DEFINE_implication(harmony, harmony_modules) |
150 DEFINE_implication(harmony, harmony_proxies) | 150 DEFINE_implication(harmony, harmony_proxies) |
151 DEFINE_implication(harmony, harmony_collections) | 151 DEFINE_implication(harmony, harmony_collections) |
152 DEFINE_implication(harmony_modules, harmony_scoping) | 152 DEFINE_implication(harmony_modules, harmony_scoping) |
153 | 153 |
154 // Flags for experimental implementation features. | 154 // Flags for experimental implementation features. |
155 DEFINE_bool(packed_arrays, false, "optimizes arrays that have no holes") | 155 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
156 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 156 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
157 DEFINE_bool(clever_optimizations, | 157 DEFINE_bool(clever_optimizations, |
158 true, | 158 true, |
159 "Optimize object size, Array shift, DOM strings and string +") | 159 "Optimize object size, Array shift, DOM strings and string +") |
160 | 160 |
161 // Flags for data representation optimizations | 161 // Flags for data representation optimizations |
162 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 162 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
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. |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 #undef DEFINE_bool | 677 #undef DEFINE_bool |
678 #undef DEFINE_int | 678 #undef DEFINE_int |
679 #undef DEFINE_string | 679 #undef DEFINE_string |
680 #undef DEFINE_implication | 680 #undef DEFINE_implication |
681 | 681 |
682 #undef FLAG_MODE_DECLARE | 682 #undef FLAG_MODE_DECLARE |
683 #undef FLAG_MODE_DEFINE | 683 #undef FLAG_MODE_DEFINE |
684 #undef FLAG_MODE_DEFINE_DEFAULTS | 684 #undef FLAG_MODE_DEFINE_DEFAULTS |
685 #undef FLAG_MODE_META | 685 #undef FLAG_MODE_META |
686 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 686 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |