Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1052)

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

Issue 1218473003: [es6] Remove harmony-object-literal flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update description of harmony classes flag Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/bootstrapper.cc ('k') | src/parser.cc » ('j') | 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 V(harmony_destructuring, "harmony destructuring") \ 194 V(harmony_destructuring, "harmony destructuring") \
195 V(harmony_sharedarraybuffer, "harmony sharedarraybuffer") \ 195 V(harmony_sharedarraybuffer, "harmony sharedarraybuffer") \
196 V(harmony_atomics, "harmony atomics") \ 196 V(harmony_atomics, "harmony atomics") \
197 V(harmony_new_target, "harmony new.target") 197 V(harmony_new_target, "harmony new.target")
198 198
199 // Features that are complete (but still behind --harmony/es-staging flag). 199 // Features that are complete (but still behind --harmony/es-staging flag).
200 #define HARMONY_STAGED(V) \ 200 #define HARMONY_STAGED(V) \
201 V(harmony_tostring, "harmony toString") 201 V(harmony_tostring, "harmony toString")
202 202
203 // Features that are shipping (turned on by default, but internal flag remains). 203 // Features that are shipping (turned on by default, but internal flag remains).
204 #define HARMONY_SHIPPING(V) \ 204 #define HARMONY_SHIPPING(V) \
205 V(harmony_arrays, "harmony array methods") \ 205 V(harmony_arrays, "harmony array methods") \
206 V(harmony_arrow_functions, "harmony arrow functions") \ 206 V(harmony_arrow_functions, "harmony arrow functions") \
207 V(harmony_classes, "harmony classes (implies object literal extension)") \ 207 V(harmony_classes, "harmony classes") \
208 V(harmony_computed_property_names, "harmony computed property names") \ 208 V(harmony_computed_property_names, "harmony computed property names") \
209 V(harmony_object_literals, "harmony object literal extensions") \ 209 V(harmony_spreadcalls, "harmony spread-calls") \
210 V(harmony_spreadcalls, "harmony spread-calls") \ 210 V(harmony_spread_arrays, "harmony spread in array literals") \
211 V(harmony_spread_arrays, "harmony spread in array literals") \ 211 V(harmony_unicode, "harmony unicode escapes") \
212 V(harmony_unicode, "harmony unicode escapes") \ 212 V(harmony_object, "harmony Object methods") \
213 V(harmony_object, "harmony Object methods") \
214 V(harmony_rest_parameters, "harmony rest parameters") 213 V(harmony_rest_parameters, "harmony rest parameters")
215 214
216 // Once a shipping feature has proved stable in the wild, it will be dropped 215 // Once a shipping feature has proved stable in the wild, it will be dropped
217 // from HARMONY_SHIPPING, all occurrences of the FLAG_ variable are removed, 216 // from HARMONY_SHIPPING, all occurrences of the FLAG_ variable are removed,
218 // and associated tests are moved from the harmony directory to the appropriate 217 // and associated tests are moved from the harmony directory to the appropriate
219 // esN directory. 218 // esN directory.
220 219
221 220
222 #define FLAG_INPROGRESS_FEATURES(id, description) \ 221 #define FLAG_INPROGRESS_FEATURES(id, description) \
223 DEFINE_BOOL(id, false, "enable " #description " (in progress)") 222 DEFINE_BOOL(id, false, "enable " #description " (in progress)")
224 HARMONY_INPROGRESS(FLAG_INPROGRESS_FEATURES) 223 HARMONY_INPROGRESS(FLAG_INPROGRESS_FEATURES)
225 #undef FLAG_INPROGRESS_FEATURES 224 #undef FLAG_INPROGRESS_FEATURES
226 225
227 #define FLAG_STAGED_FEATURES(id, description) \ 226 #define FLAG_STAGED_FEATURES(id, description) \
228 DEFINE_BOOL(id, false, "enable " #description) \ 227 DEFINE_BOOL(id, false, "enable " #description) \
229 DEFINE_IMPLICATION(es_staging, id) 228 DEFINE_IMPLICATION(es_staging, id)
230 HARMONY_STAGED(FLAG_STAGED_FEATURES) 229 HARMONY_STAGED(FLAG_STAGED_FEATURES)
231 #undef FLAG_STAGED_FEATURES 230 #undef FLAG_STAGED_FEATURES
232 231
233 #define FLAG_SHIPPING_FEATURES(id, description) \ 232 #define FLAG_SHIPPING_FEATURES(id, description) \
234 DEFINE_BOOL(id, true, "enable " #description) \ 233 DEFINE_BOOL(id, true, "enable " #description) \
235 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) 234 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id)
236 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) 235 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES)
237 #undef FLAG_SHIPPING_FEATURES 236 #undef FLAG_SHIPPING_FEATURES
238 237
239 238
240 // Feature dependencies. 239 // Feature dependencies.
241 DEFINE_IMPLICATION(harmony_classes, harmony_object_literals)
242 DEFINE_IMPLICATION(harmony_unicode_regexps, harmony_unicode) 240 DEFINE_IMPLICATION(harmony_unicode_regexps, harmony_unicode)
243 241
244 242
245 // Flags for experimental implementation features. 243 // Flags for experimental implementation features.
246 DEFINE_BOOL(compiled_keyed_generic_loads, false, 244 DEFINE_BOOL(compiled_keyed_generic_loads, false,
247 "use optimizing compiler to generate keyed generic load stubs") 245 "use optimizing compiler to generate keyed generic load stubs")
248 // TODO(hpayer): We will remove this flag as soon as we have pretenuring 246 // TODO(hpayer): We will remove this flag as soon as we have pretenuring
249 // support for specific allocation sites. 247 // support for specific allocation sites.
250 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") 248 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new")
251 DEFINE_BOOL(allocation_site_pretenuring, true, 249 DEFINE_BOOL(allocation_site_pretenuring, true,
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
1069 #undef DEFINE_ALIAS_FLOAT 1067 #undef DEFINE_ALIAS_FLOAT
1070 #undef DEFINE_ALIAS_ARGS 1068 #undef DEFINE_ALIAS_ARGS
1071 1069
1072 #undef FLAG_MODE_DECLARE 1070 #undef FLAG_MODE_DECLARE
1073 #undef FLAG_MODE_DEFINE 1071 #undef FLAG_MODE_DEFINE
1074 #undef FLAG_MODE_DEFINE_DEFAULTS 1072 #undef FLAG_MODE_DEFINE_DEFAULTS
1075 #undef FLAG_MODE_META 1073 #undef FLAG_MODE_META
1076 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1074 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1077 1075
1078 #undef COMMA 1076 #undef COMMA
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698