OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
8 // | 8 // |
9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") | 159 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
160 DEFINE_bool(harmony_collections, false, | 160 DEFINE_bool(harmony_collections, false, |
161 "enable harmony collections (sets, maps)") | 161 "enable harmony collections (sets, maps)") |
162 DEFINE_bool(harmony_generators, false, "enable harmony generators") | 162 DEFINE_bool(harmony_generators, false, "enable harmony generators") |
163 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") | 163 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") |
164 DEFINE_bool(harmony_numeric_literals, false, | 164 DEFINE_bool(harmony_numeric_literals, false, |
165 "enable harmony numeric literals (0o77, 0b11)") | 165 "enable harmony numeric literals (0o77, 0b11)") |
166 DEFINE_bool(harmony_strings, false, "enable harmony string") | 166 DEFINE_bool(harmony_strings, false, "enable harmony string") |
167 DEFINE_bool(harmony_arrays, false, "enable harmony arrays") | 167 DEFINE_bool(harmony_arrays, false, "enable harmony arrays") |
168 DEFINE_bool(harmony_maths, false, "enable harmony math functions") | 168 DEFINE_bool(harmony_maths, false, "enable harmony math functions") |
| 169 DEFINE_bool(harmony_arrow_functions, false, "enable harmony arrow functions") |
169 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 170 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
170 | 171 |
171 DEFINE_implication(harmony, harmony_scoping) | 172 DEFINE_implication(harmony, harmony_scoping) |
172 DEFINE_implication(harmony, harmony_modules) | 173 DEFINE_implication(harmony, harmony_modules) |
173 DEFINE_implication(harmony, harmony_proxies) | 174 DEFINE_implication(harmony, harmony_proxies) |
174 DEFINE_implication(harmony, harmony_collections) | 175 DEFINE_implication(harmony, harmony_collections) |
175 DEFINE_implication(harmony, harmony_generators) | 176 DEFINE_implication(harmony, harmony_generators) |
176 DEFINE_implication(harmony, harmony_iteration) | 177 DEFINE_implication(harmony, harmony_iteration) |
177 DEFINE_implication(harmony, harmony_numeric_literals) | 178 DEFINE_implication(harmony, harmony_numeric_literals) |
178 DEFINE_implication(harmony, harmony_strings) | 179 DEFINE_implication(harmony, harmony_strings) |
179 DEFINE_implication(harmony, harmony_arrays) | 180 DEFINE_implication(harmony, harmony_arrays) |
| 181 DEFINE_implication(harmony, harmony_arrow_functions) |
180 DEFINE_implication(harmony_modules, harmony_scoping) | 182 DEFINE_implication(harmony_modules, harmony_scoping) |
181 DEFINE_implication(harmony_collections, harmony_symbols) | 183 DEFINE_implication(harmony_collections, harmony_symbols) |
182 DEFINE_implication(harmony_generators, harmony_symbols) | 184 DEFINE_implication(harmony_generators, harmony_symbols) |
183 DEFINE_implication(harmony_iteration, harmony_symbols) | 185 DEFINE_implication(harmony_iteration, harmony_symbols) |
184 | 186 |
185 DEFINE_implication(harmony, es_staging) | 187 DEFINE_implication(harmony, es_staging) |
186 DEFINE_implication(es_staging, harmony_maths) | 188 DEFINE_implication(es_staging, harmony_maths) |
187 DEFINE_implication(es_staging, harmony_symbols) | 189 DEFINE_implication(es_staging, harmony_symbols) |
188 DEFINE_implication(es_staging, harmony_collections) | 190 DEFINE_implication(es_staging, harmony_collections) |
189 | 191 |
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
914 #undef DEFINE_ALIAS_float | 916 #undef DEFINE_ALIAS_float |
915 #undef DEFINE_ALIAS_args | 917 #undef DEFINE_ALIAS_args |
916 | 918 |
917 #undef FLAG_MODE_DECLARE | 919 #undef FLAG_MODE_DECLARE |
918 #undef FLAG_MODE_DEFINE | 920 #undef FLAG_MODE_DEFINE |
919 #undef FLAG_MODE_DEFINE_DEFAULTS | 921 #undef FLAG_MODE_DEFINE_DEFAULTS |
920 #undef FLAG_MODE_META | 922 #undef FLAG_MODE_META |
921 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 923 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
922 | 924 |
923 #undef COMMA | 925 #undef COMMA |
OLD | NEW |