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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 "enable harmony collections (sets, maps, and weak maps)") | 164 "enable harmony collections (sets, maps, and weak maps)") |
165 DEFINE_bool(harmony_observation, false, | 165 DEFINE_bool(harmony_observation, false, |
166 "enable harmony object observation (implies harmony collections") | 166 "enable harmony object observation (implies harmony collections") |
167 DEFINE_bool(harmony_typed_arrays, false, | 167 DEFINE_bool(harmony_typed_arrays, false, |
168 "enable harmony typed arrays") | 168 "enable harmony typed arrays") |
169 DEFINE_bool(harmony_array_buffer, false, | 169 DEFINE_bool(harmony_array_buffer, false, |
170 "enable harmony array buffer") | 170 "enable harmony array buffer") |
171 DEFINE_implication(harmony_typed_arrays, harmony_array_buffer) | 171 DEFINE_implication(harmony_typed_arrays, harmony_array_buffer) |
172 DEFINE_bool(harmony_generators, false, "enable harmony generators") | 172 DEFINE_bool(harmony_generators, false, "enable harmony generators") |
173 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") | 173 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") |
| 174 DEFINE_bool(harmony_numeric_literals, false, |
| 175 "enable harmony numeric literals (0o77, 0b11)") |
174 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 176 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
175 DEFINE_implication(harmony, harmony_scoping) | 177 DEFINE_implication(harmony, harmony_scoping) |
176 DEFINE_implication(harmony, harmony_modules) | 178 DEFINE_implication(harmony, harmony_modules) |
177 DEFINE_implication(harmony, harmony_symbols) | 179 DEFINE_implication(harmony, harmony_symbols) |
178 DEFINE_implication(harmony, harmony_proxies) | 180 DEFINE_implication(harmony, harmony_proxies) |
179 DEFINE_implication(harmony, harmony_collections) | 181 DEFINE_implication(harmony, harmony_collections) |
180 DEFINE_implication(harmony, harmony_observation) | 182 DEFINE_implication(harmony, harmony_observation) |
181 DEFINE_implication(harmony, harmony_generators) | 183 DEFINE_implication(harmony, harmony_generators) |
182 DEFINE_implication(harmony, harmony_iteration) | 184 DEFINE_implication(harmony, harmony_iteration) |
| 185 DEFINE_implication(harmony, harmony_numeric_literals) |
183 DEFINE_implication(harmony_modules, harmony_scoping) | 186 DEFINE_implication(harmony_modules, harmony_scoping) |
184 DEFINE_implication(harmony_observation, harmony_collections) | 187 DEFINE_implication(harmony_observation, harmony_collections) |
185 // TODO[dslomov] add harmony => harmony_typed_arrays | 188 // TODO[dslomov] add harmony => harmony_typed_arrays |
186 | 189 |
187 // Flags for experimental implementation features. | 190 // Flags for experimental implementation features. |
188 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 191 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
189 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") |
190 DEFINE_bool(compiled_transitions, true, "use optimizing compiler to " | 193 DEFINE_bool(compiled_transitions, true, "use optimizing compiler to " |
191 "generate array elements transition stubs") | 194 "generate array elements transition stubs") |
192 DEFINE_bool(compiled_keyed_stores, true, "use optimizing compiler to " | 195 DEFINE_bool(compiled_keyed_stores, true, "use optimizing compiler to " |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 #undef DEFINE_bool | 807 #undef DEFINE_bool |
805 #undef DEFINE_int | 808 #undef DEFINE_int |
806 #undef DEFINE_string | 809 #undef DEFINE_string |
807 #undef DEFINE_implication | 810 #undef DEFINE_implication |
808 | 811 |
809 #undef FLAG_MODE_DECLARE | 812 #undef FLAG_MODE_DECLARE |
810 #undef FLAG_MODE_DEFINE | 813 #undef FLAG_MODE_DEFINE |
811 #undef FLAG_MODE_DEFINE_DEFAULTS | 814 #undef FLAG_MODE_DEFINE_DEFAULTS |
812 #undef FLAG_MODE_META | 815 #undef FLAG_MODE_META |
813 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 816 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |