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

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

Issue 2504153002: [TypeFeedbackVector] Root literal arrays in function literals slots (Closed)
Patch Set: REBASE. Created 4 years 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
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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 DEFINE_IMPLICATION(track_double_fields, track_fields) 270 DEFINE_IMPLICATION(track_double_fields, track_fields)
271 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) 271 DEFINE_IMPLICATION(track_heap_object_fields, track_fields)
272 DEFINE_IMPLICATION(track_computed_fields, track_fields) 272 DEFINE_IMPLICATION(track_computed_fields, track_fields)
273 DEFINE_BOOL(track_field_types, true, "track field types") 273 DEFINE_BOOL(track_field_types, true, "track field types")
274 DEFINE_IMPLICATION(track_field_types, track_fields) 274 DEFINE_IMPLICATION(track_field_types, track_fields)
275 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) 275 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields)
276 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") 276 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations")
277 DEFINE_BOOL(mark_shared_functions_for_tier_up, false, 277 DEFINE_BOOL(mark_shared_functions_for_tier_up, false,
278 "mark shared functions for tier up") 278 "mark shared functions for tier up")
279 279
280 // Flags for strongly rooting literal arrays in the feedback vector.
281 DEFINE_BOOL(strong_rooted_literals, true, "strongly root literal arrays")
282 DEFINE_BOOL(trace_strong_rooted_literals, false, "trace literal rooting")
283
280 // Flags for optimization types. 284 // Flags for optimization types.
281 DEFINE_BOOL(optimize_for_size, false, 285 DEFINE_BOOL(optimize_for_size, false,
282 "Enables optimizations which favor memory size over execution " 286 "Enables optimizations which favor memory size over execution "
283 "speed") 287 "speed")
284 288
285 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) 289 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1)
286 290
287 // Flags for data representation optimizations 291 // Flags for data representation optimizations
288 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") 292 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles")
289 DEFINE_BOOL(string_slices, true, "use string slices") 293 DEFINE_BOOL(string_slices, true, "use string slices")
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after
1240 #undef DEFINE_ALIAS_FLOAT 1244 #undef DEFINE_ALIAS_FLOAT
1241 #undef DEFINE_ALIAS_ARGS 1245 #undef DEFINE_ALIAS_ARGS
1242 1246
1243 #undef FLAG_MODE_DECLARE 1247 #undef FLAG_MODE_DECLARE
1244 #undef FLAG_MODE_DEFINE 1248 #undef FLAG_MODE_DEFINE
1245 #undef FLAG_MODE_DEFINE_DEFAULTS 1249 #undef FLAG_MODE_DEFINE_DEFAULTS
1246 #undef FLAG_MODE_META 1250 #undef FLAG_MODE_META
1247 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1251 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1248 1252
1249 #undef COMMA 1253 #undef COMMA
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698