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

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

Issue 702243003: Basic array capacity feedback via allocation sites. Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update. Created 6 years, 1 month 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/elements.cc ('k') | src/hydrogen.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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") 200 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values")
201 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") 201 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields")
202 DEFINE_IMPLICATION(track_double_fields, track_fields) 202 DEFINE_IMPLICATION(track_double_fields, track_fields)
203 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) 203 DEFINE_IMPLICATION(track_heap_object_fields, track_fields)
204 DEFINE_IMPLICATION(track_computed_fields, track_fields) 204 DEFINE_IMPLICATION(track_computed_fields, track_fields)
205 DEFINE_BOOL(track_field_types, true, "track field types") 205 DEFINE_BOOL(track_field_types, true, "track field types")
206 DEFINE_IMPLICATION(track_field_types, track_fields) 206 DEFINE_IMPLICATION(track_field_types, track_fields)
207 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) 207 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields)
208 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") 208 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations")
209 DEFINE_BOOL(vector_ics, false, "support vector-based ics") 209 DEFINE_BOOL(vector_ics, false, "support vector-based ics")
210 DEFINE_INT(initial_capacity_mode, 1,
211 "Initial Array capacity mode (0=0, 1=4 (default), 2=(1.5*len+16)/4")
210 212
211 // Flags for optimization types. 213 // Flags for optimization types.
212 DEFINE_BOOL(optimize_for_size, false, 214 DEFINE_BOOL(optimize_for_size, false,
213 "Enables optimizations which favor memory size over execution " 215 "Enables optimizations which favor memory size over execution "
214 "speed.") 216 "speed.")
215 217
216 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) 218 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1)
217 219
218 // Flags for data representation optimizations 220 // Flags for data representation optimizations
219 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") 221 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles")
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 #undef DEFINE_ALIAS_FLOAT 925 #undef DEFINE_ALIAS_FLOAT
924 #undef DEFINE_ALIAS_ARGS 926 #undef DEFINE_ALIAS_ARGS
925 927
926 #undef FLAG_MODE_DECLARE 928 #undef FLAG_MODE_DECLARE
927 #undef FLAG_MODE_DEFINE 929 #undef FLAG_MODE_DEFINE
928 #undef FLAG_MODE_DEFINE_DEFAULTS 930 #undef FLAG_MODE_DEFINE_DEFAULTS
929 #undef FLAG_MODE_META 931 #undef FLAG_MODE_META
930 #undef FLAG_MODE_DEFINE_IMPLICATIONS 932 #undef FLAG_MODE_DEFINE_IMPLICATIONS
931 933
932 #undef COMMA 934 #undef COMMA
OLDNEW
« no previous file with comments | « src/elements.cc ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698