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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 "enable harmony collections (sets, maps, weak sets, weak maps)") | 181 "enable harmony collections (sets, maps, weak sets, weak maps)") |
182 DEFINE_bool(harmony_weak_collections, false, | 182 DEFINE_bool(harmony_weak_collections, false, |
183 "enable only harmony weak collections (weak sets and maps)") | 183 "enable only harmony weak collections (weak sets and maps)") |
184 DEFINE_bool(harmony_generators, false, "enable harmony generators") | 184 DEFINE_bool(harmony_generators, false, "enable harmony generators") |
185 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") | 185 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") |
186 DEFINE_bool(harmony_numeric_literals, false, | 186 DEFINE_bool(harmony_numeric_literals, false, |
187 "enable harmony numeric literals (0o77, 0b11)") | 187 "enable harmony numeric literals (0o77, 0b11)") |
188 DEFINE_bool(harmony_strings, false, "enable harmony string") | 188 DEFINE_bool(harmony_strings, false, "enable harmony string") |
189 DEFINE_bool(harmony_arrays, false, "enable harmony arrays") | 189 DEFINE_bool(harmony_arrays, false, "enable harmony arrays") |
190 DEFINE_bool(harmony_maths, false, "enable harmony math functions") | 190 DEFINE_bool(harmony_maths, false, "enable harmony math functions") |
| 191 DEFINE_bool(harmony_arrow_functions, false, "enable harmony arrow functions") |
191 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 192 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
192 | 193 |
193 DEFINE_implication(harmony, harmony_scoping) | 194 DEFINE_implication(harmony, harmony_scoping) |
194 DEFINE_implication(harmony, harmony_modules) | 195 DEFINE_implication(harmony, harmony_modules) |
195 DEFINE_implication(harmony, harmony_symbols) | 196 DEFINE_implication(harmony, harmony_symbols) |
196 DEFINE_implication(harmony, harmony_proxies) | 197 DEFINE_implication(harmony, harmony_proxies) |
197 DEFINE_implication(harmony, harmony_collections) | 198 DEFINE_implication(harmony, harmony_collections) |
198 DEFINE_implication(harmony, harmony_generators) | 199 DEFINE_implication(harmony, harmony_generators) |
199 DEFINE_implication(harmony, harmony_iteration) | 200 DEFINE_implication(harmony, harmony_iteration) |
200 DEFINE_implication(harmony, harmony_numeric_literals) | 201 DEFINE_implication(harmony, harmony_numeric_literals) |
201 DEFINE_implication(harmony, harmony_strings) | 202 DEFINE_implication(harmony, harmony_strings) |
202 DEFINE_implication(harmony, harmony_arrays) | 203 DEFINE_implication(harmony, harmony_arrays) |
| 204 DEFINE_implication(harmony, harmony_arrow_functions) |
203 DEFINE_implication(harmony_collections, harmony_weak_collections) | 205 DEFINE_implication(harmony_collections, harmony_weak_collections) |
204 DEFINE_implication(harmony_promises, harmony_weak_collections) | 206 DEFINE_implication(harmony_promises, harmony_weak_collections) |
205 DEFINE_implication(harmony_modules, harmony_scoping) | 207 DEFINE_implication(harmony_modules, harmony_scoping) |
206 | 208 |
207 DEFINE_implication(harmony, es_staging) | 209 DEFINE_implication(harmony, es_staging) |
208 DEFINE_implication(es_staging, harmony_maths) | 210 DEFINE_implication(es_staging, harmony_maths) |
209 DEFINE_implication(es_staging, harmony_promises) | 211 DEFINE_implication(es_staging, harmony_promises) |
210 DEFINE_implication(es_staging, harmony_weak_collections) | 212 DEFINE_implication(es_staging, harmony_weak_collections) |
211 | 213 |
212 // Flags for experimental implementation features. | 214 // Flags for experimental implementation features. |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 #undef DEFINE_ALIAS_float | 921 #undef DEFINE_ALIAS_float |
920 #undef DEFINE_ALIAS_args | 922 #undef DEFINE_ALIAS_args |
921 | 923 |
922 #undef FLAG_MODE_DECLARE | 924 #undef FLAG_MODE_DECLARE |
923 #undef FLAG_MODE_DEFINE | 925 #undef FLAG_MODE_DEFINE |
924 #undef FLAG_MODE_DEFINE_DEFAULTS | 926 #undef FLAG_MODE_DEFINE_DEFAULTS |
925 #undef FLAG_MODE_META | 927 #undef FLAG_MODE_META |
926 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 928 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
927 | 929 |
928 #undef COMMA | 930 #undef COMMA |
OLD | NEW |