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

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

Issue 803933008: new classes: change semantics of super(...) call and add new.target to construct stub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix x64 Created 5 years, 11 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/compiler.cc ('k') | src/full-codegen.h » ('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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") 249 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values")
250 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") 250 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields")
251 DEFINE_IMPLICATION(track_double_fields, track_fields) 251 DEFINE_IMPLICATION(track_double_fields, track_fields)
252 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) 252 DEFINE_IMPLICATION(track_heap_object_fields, track_fields)
253 DEFINE_IMPLICATION(track_computed_fields, track_fields) 253 DEFINE_IMPLICATION(track_computed_fields, track_fields)
254 DEFINE_BOOL(track_field_types, true, "track field types") 254 DEFINE_BOOL(track_field_types, true, "track field types")
255 DEFINE_IMPLICATION(track_field_types, track_fields) 255 DEFINE_IMPLICATION(track_field_types, track_fields)
256 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) 256 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields)
257 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") 257 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations")
258 DEFINE_BOOL(vector_ics, false, "support vector-based ics") 258 DEFINE_BOOL(vector_ics, false, "support vector-based ics")
259 DEFINE_BOOL(experimental_classes, false,
260 "experimental new semantics for super() calls")
261 DEFINE_IMPLICATION(experimental_classes, harmony_classes)
262 DEFINE_IMPLICATION(experimental_classes, harmony_object_literals)
259 263
260 // Flags for optimization types. 264 // Flags for optimization types.
261 DEFINE_BOOL(optimize_for_size, false, 265 DEFINE_BOOL(optimize_for_size, false,
262 "Enables optimizations which favor memory size over execution " 266 "Enables optimizations which favor memory size over execution "
263 "speed.") 267 "speed.")
264 268
265 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) 269 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1)
266 270
267 // Flags for data representation optimizations 271 // Flags for data representation optimizations
268 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") 272 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles")
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 #undef DEFINE_ALIAS_FLOAT 1013 #undef DEFINE_ALIAS_FLOAT
1010 #undef DEFINE_ALIAS_ARGS 1014 #undef DEFINE_ALIAS_ARGS
1011 1015
1012 #undef FLAG_MODE_DECLARE 1016 #undef FLAG_MODE_DECLARE
1013 #undef FLAG_MODE_DEFINE 1017 #undef FLAG_MODE_DEFINE
1014 #undef FLAG_MODE_DEFINE_DEFAULTS 1018 #undef FLAG_MODE_DEFINE_DEFAULTS
1015 #undef FLAG_MODE_META 1019 #undef FLAG_MODE_META
1016 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1020 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1017 1021
1018 #undef COMMA 1022 #undef COMMA
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/full-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698