Chromium Code Reviews

Side by Side Diff: src/flag-definitions.h

Issue 2779033003: [regexp] Stage named captures (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 177 matching lines...)
188 188
189 DEFINE_BOOL(es_staging, false, 189 DEFINE_BOOL(es_staging, false,
190 "enable test-worthy harmony features (for internal use only)") 190 "enable test-worthy harmony features (for internal use only)")
191 DEFINE_BOOL(harmony, false, "enable all completed harmony features") 191 DEFINE_BOOL(harmony, false, "enable all completed harmony features")
192 DEFINE_BOOL(harmony_shipping, true, "enable all shipped harmony features") 192 DEFINE_BOOL(harmony_shipping, true, "enable all shipped harmony features")
193 DEFINE_IMPLICATION(es_staging, harmony) 193 DEFINE_IMPLICATION(es_staging, harmony)
194 194
195 195
196 // Activate on ClusterFuzz. 196 // Activate on ClusterFuzz.
197 DEFINE_IMPLICATION(es_staging, harmony_regexp_lookbehind) 197 DEFINE_IMPLICATION(es_staging, harmony_regexp_lookbehind)
198 DEFINE_IMPLICATION(es_staging, harmony_regexp_named_captures)
adamk 2017/03/29 17:26:49 This isn't needed. You can also remove the line ab
jgruber 2017/04/03 08:25:20 Done.
198 DEFINE_IMPLICATION(es_staging, move_object_start) 199 DEFINE_IMPLICATION(es_staging, move_object_start)
199 200
200 // Features that are still work in progress (behind individual flags). 201 // Features that are still work in progress (behind individual flags).
201 #define HARMONY_INPROGRESS(V) \ 202 #define HARMONY_INPROGRESS(V) \
202 V(harmony_array_prototype_values, "harmony Array.prototype.values") \ 203 V(harmony_array_prototype_values, "harmony Array.prototype.values") \
203 V(harmony_function_sent, "harmony function.sent") \ 204 V(harmony_function_sent, "harmony function.sent") \
204 V(harmony_tailcalls, "harmony tail calls") \ 205 V(harmony_tailcalls, "harmony tail calls") \
205 V(harmony_sharedarraybuffer, "harmony sharedarraybuffer") \ 206 V(harmony_sharedarraybuffer, "harmony sharedarraybuffer") \
206 V(harmony_do_expressions, "harmony do-expressions") \ 207 V(harmony_do_expressions, "harmony do-expressions") \
207 V(harmony_regexp_named_captures, "harmony regexp named captures") \
208 V(harmony_regexp_property, "harmony unicode regexp property classes") \ 208 V(harmony_regexp_property, "harmony unicode regexp property classes") \
209 V(harmony_function_tostring, "harmony Function.prototype.toString") \ 209 V(harmony_function_tostring, "harmony Function.prototype.toString") \
210 V(harmony_class_fields, "harmony public fields in class literals") \ 210 V(harmony_class_fields, "harmony public fields in class literals") \
211 V(harmony_async_iteration, "harmony async iteration") \ 211 V(harmony_async_iteration, "harmony async iteration") \
212 V(harmony_dynamic_import, "harmony dynamic import") \ 212 V(harmony_dynamic_import, "harmony dynamic import") \
213 V(harmony_promise_finally, "harmony Promise.prototype.finally") 213 V(harmony_promise_finally, "harmony Promise.prototype.finally")
214 214
215 // Features that are complete (but still behind --harmony/es-staging flag). 215 // Features that are complete (but still behind --harmony/es-staging flag).
216 #define HARMONY_STAGED(V) \ 216 #define HARMONY_STAGED(V) \
217 V(harmony_regexp_lookbehind, "harmony regexp lookbehind") \ 217 V(harmony_regexp_lookbehind, "harmony regexp lookbehind") \
218 V(harmony_regexp_named_captures, "harmony regexp named captures") \
218 V(harmony_restrictive_generators, \ 219 V(harmony_restrictive_generators, \
219 "harmony restrictions on generator declarations") \ 220 "harmony restrictions on generator declarations") \
220 V(harmony_object_rest_spread, "harmony object rest spread properties") \ 221 V(harmony_object_rest_spread, "harmony object rest spread properties") \
221 V(harmony_template_escapes, \ 222 V(harmony_template_escapes, \
222 "harmony invalid escapes in tagged template literals") 223 "harmony invalid escapes in tagged template literals")
223 224
224 // Features that are shipping (turned on by default, but internal flag remains). 225 // Features that are shipping (turned on by default, but internal flag remains).
225 #define HARMONY_SHIPPING_BASE(V) \ 226 #define HARMONY_SHIPPING_BASE(V) \
226 V(harmony_trailing_commas, \ 227 V(harmony_trailing_commas, \
227 "harmony trailing commas in function parameter lists") 228 "harmony trailing commas in function parameter lists")
(...skipping 1114 matching lines...)
1342 #undef DEFINE_ALIAS_FLOAT 1343 #undef DEFINE_ALIAS_FLOAT
1343 #undef DEFINE_ALIAS_ARGS 1344 #undef DEFINE_ALIAS_ARGS
1344 1345
1345 #undef FLAG_MODE_DECLARE 1346 #undef FLAG_MODE_DECLARE
1346 #undef FLAG_MODE_DEFINE 1347 #undef FLAG_MODE_DEFINE
1347 #undef FLAG_MODE_DEFINE_DEFAULTS 1348 #undef FLAG_MODE_DEFINE_DEFAULTS
1348 #undef FLAG_MODE_META 1349 #undef FLAG_MODE_META
1349 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1350 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1350 1351
1351 #undef COMMA 1352 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine