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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 DEFINE_BOOL(harmony_modules, false, | 154 DEFINE_BOOL(harmony_modules, false, |
155 "enable harmony modules (implies block scoping)") | 155 "enable harmony modules (implies block scoping)") |
156 DEFINE_BOOL(harmony_proxies, false, "enable harmony proxies") | 156 DEFINE_BOOL(harmony_proxies, false, "enable harmony proxies") |
157 DEFINE_BOOL(harmony_generators, false, "enable harmony generators") | 157 DEFINE_BOOL(harmony_generators, false, "enable harmony generators") |
158 DEFINE_BOOL(harmony_numeric_literals, false, | 158 DEFINE_BOOL(harmony_numeric_literals, false, |
159 "enable harmony numeric literals (0o77, 0b11)") | 159 "enable harmony numeric literals (0o77, 0b11)") |
160 DEFINE_BOOL(harmony_strings, false, "enable harmony string") | 160 DEFINE_BOOL(harmony_strings, false, "enable harmony string") |
161 DEFINE_BOOL(harmony_arrays, false, "enable harmony arrays") | 161 DEFINE_BOOL(harmony_arrays, false, "enable harmony arrays") |
162 DEFINE_BOOL(harmony_arrow_functions, false, "enable harmony arrow functions") | 162 DEFINE_BOOL(harmony_arrow_functions, false, "enable harmony arrow functions") |
163 DEFINE_BOOL(harmony_unscopables, false, "enable harmony unscopables") | 163 DEFINE_BOOL(harmony_unscopables, false, "enable harmony unscopables") |
164 DEFINE_BOOL(harmony, false, "enable all harmony features") | 164 DEFINE_BOOL(harmony, false, "enable all harmony features (except proxies)") |
165 | 165 |
166 DEFINE_IMPLICATION(harmony, harmony_scoping) | 166 DEFINE_IMPLICATION(harmony, harmony_scoping) |
167 DEFINE_IMPLICATION(harmony, harmony_modules) | 167 DEFINE_IMPLICATION(harmony, harmony_modules) |
168 DEFINE_IMPLICATION(harmony, harmony_proxies) | 168 // TODO(rossberg): Reenable when problems are sorted out. |
| 169 // DEFINE_IMPLICATION(harmony, harmony_proxies) |
169 DEFINE_IMPLICATION(harmony, harmony_generators) | 170 DEFINE_IMPLICATION(harmony, harmony_generators) |
170 DEFINE_IMPLICATION(harmony, harmony_numeric_literals) | 171 DEFINE_IMPLICATION(harmony, harmony_numeric_literals) |
171 DEFINE_IMPLICATION(harmony, harmony_strings) | 172 DEFINE_IMPLICATION(harmony, harmony_strings) |
172 DEFINE_IMPLICATION(harmony, harmony_arrays) | 173 DEFINE_IMPLICATION(harmony, harmony_arrays) |
173 DEFINE_IMPLICATION(harmony, harmony_arrow_functions) | 174 DEFINE_IMPLICATION(harmony, harmony_arrow_functions) |
174 DEFINE_IMPLICATION(harmony_modules, harmony_scoping) | 175 DEFINE_IMPLICATION(harmony_modules, harmony_scoping) |
175 | 176 |
176 DEFINE_IMPLICATION(harmony, es_staging) | 177 DEFINE_IMPLICATION(harmony, es_staging) |
177 | 178 |
178 // Flags for experimental implementation features. | 179 // Flags for experimental implementation features. |
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
924 #undef DEFINE_ALIAS_FLOAT | 925 #undef DEFINE_ALIAS_FLOAT |
925 #undef DEFINE_ALIAS_ARGS | 926 #undef DEFINE_ALIAS_ARGS |
926 | 927 |
927 #undef FLAG_MODE_DECLARE | 928 #undef FLAG_MODE_DECLARE |
928 #undef FLAG_MODE_DEFINE | 929 #undef FLAG_MODE_DEFINE |
929 #undef FLAG_MODE_DEFINE_DEFAULTS | 930 #undef FLAG_MODE_DEFINE_DEFAULTS |
930 #undef FLAG_MODE_META | 931 #undef FLAG_MODE_META |
931 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 932 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
932 | 933 |
933 #undef COMMA | 934 #undef COMMA |
OLD | NEW |