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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") | 155 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
156 DEFINE_bool(harmony_collections, false, | 156 DEFINE_bool(harmony_collections, false, |
157 "enable harmony collections (sets, maps)") | 157 "enable harmony collections (sets, maps)") |
158 DEFINE_bool(harmony_generators, false, "enable harmony generators") | 158 DEFINE_bool(harmony_generators, false, "enable harmony generators") |
159 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") | 159 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") |
160 DEFINE_bool(harmony_numeric_literals, false, | 160 DEFINE_bool(harmony_numeric_literals, false, |
161 "enable harmony numeric literals (0o77, 0b11)") | 161 "enable harmony numeric literals (0o77, 0b11)") |
162 DEFINE_bool(harmony_strings, false, "enable harmony string") | 162 DEFINE_bool(harmony_strings, false, "enable harmony string") |
163 DEFINE_bool(harmony_arrays, false, "enable harmony arrays") | 163 DEFINE_bool(harmony_arrays, false, "enable harmony arrays") |
164 DEFINE_bool(harmony_maths, false, "enable harmony math functions") | 164 DEFINE_bool(harmony_maths, false, "enable harmony math functions") |
| 165 DEFINE_bool(harmony_promises, true, "(dummy flag, has no effect)") |
165 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") | 166 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
166 | 167 |
167 DEFINE_implication(harmony, harmony_scoping) | 168 DEFINE_implication(harmony, harmony_scoping) |
168 DEFINE_implication(harmony, harmony_modules) | 169 DEFINE_implication(harmony, harmony_modules) |
169 DEFINE_implication(harmony, harmony_symbols) | 170 DEFINE_implication(harmony, harmony_symbols) |
170 DEFINE_implication(harmony, harmony_proxies) | 171 DEFINE_implication(harmony, harmony_proxies) |
171 DEFINE_implication(harmony, harmony_collections) | 172 DEFINE_implication(harmony, harmony_collections) |
172 DEFINE_implication(harmony, harmony_generators) | 173 DEFINE_implication(harmony, harmony_generators) |
173 DEFINE_implication(harmony, harmony_iteration) | 174 DEFINE_implication(harmony, harmony_iteration) |
174 DEFINE_implication(harmony, harmony_numeric_literals) | 175 DEFINE_implication(harmony, harmony_numeric_literals) |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
898 #undef DEFINE_ALIAS_float | 899 #undef DEFINE_ALIAS_float |
899 #undef DEFINE_ALIAS_args | 900 #undef DEFINE_ALIAS_args |
900 | 901 |
901 #undef FLAG_MODE_DECLARE | 902 #undef FLAG_MODE_DECLARE |
902 #undef FLAG_MODE_DEFINE | 903 #undef FLAG_MODE_DEFINE |
903 #undef FLAG_MODE_DEFINE_DEFAULTS | 904 #undef FLAG_MODE_DEFINE_DEFAULTS |
904 #undef FLAG_MODE_META | 905 #undef FLAG_MODE_META |
905 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 906 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
906 | 907 |
907 #undef COMMA | 908 #undef COMMA |
OLD | NEW |