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

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

Issue 2420053002: Define a flag --future to enable the most probable future shipping config (Closed)
Patch Set: Created 4 years, 2 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 | « 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 DEFINE_IMPLICATION(harmony, id) 247 DEFINE_IMPLICATION(harmony, id)
248 HARMONY_STAGED(FLAG_STAGED_FEATURES) 248 HARMONY_STAGED(FLAG_STAGED_FEATURES)
249 #undef FLAG_STAGED_FEATURES 249 #undef FLAG_STAGED_FEATURES
250 250
251 #define FLAG_SHIPPING_FEATURES(id, description) \ 251 #define FLAG_SHIPPING_FEATURES(id, description) \
252 DEFINE_BOOL(id, true, "enable " #description) \ 252 DEFINE_BOOL(id, true, "enable " #description) \
253 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) 253 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id)
254 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) 254 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES)
255 #undef FLAG_SHIPPING_FEATURES 255 #undef FLAG_SHIPPING_FEATURES
256 256
257 DEFINE_BOOL(future, false,
258 "Implies all staged features that we want to ship in the "
259 "not-too-far future")
260 DEFINE_IMPLICATION(future, ignition_staging)
261 DEFINE_IMPLICATION(future, turbo)
262 DEFINE_IMPLICATION(future, es_staging)
Michael Hablich 2016/10/14 08:29:32 I am hesitant on this one. The performance bar for
263
257 // Flags for experimental implementation features. 264 // Flags for experimental implementation features.
258 DEFINE_BOOL(compiled_keyed_generic_loads, false, 265 DEFINE_BOOL(compiled_keyed_generic_loads, false,
259 "use optimizing compiler to generate keyed generic load stubs") 266 "use optimizing compiler to generate keyed generic load stubs")
260 DEFINE_BOOL(allocation_site_pretenuring, true, 267 DEFINE_BOOL(allocation_site_pretenuring, true,
261 "pretenure with allocation sites") 268 "pretenure with allocation sites")
262 DEFINE_BOOL(page_promotion, true, "promote pages based on utilization") 269 DEFINE_BOOL(page_promotion, true, "promote pages based on utilization")
263 DEFINE_INT(page_promotion_threshold, 70, 270 DEFINE_INT(page_promotion_threshold, 70,
264 "min percentage of live bytes on a page to enable fast evacuation") 271 "min percentage of live bytes on a page to enable fast evacuation")
265 DEFINE_BOOL(trace_pretenuring, false, 272 DEFINE_BOOL(trace_pretenuring, false,
266 "trace pretenuring decisions of HAllocate instructions") 273 "trace pretenuring decisions of HAllocate instructions")
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 #undef DEFINE_ALIAS_FLOAT 1220 #undef DEFINE_ALIAS_FLOAT
1214 #undef DEFINE_ALIAS_ARGS 1221 #undef DEFINE_ALIAS_ARGS
1215 1222
1216 #undef FLAG_MODE_DECLARE 1223 #undef FLAG_MODE_DECLARE
1217 #undef FLAG_MODE_DEFINE 1224 #undef FLAG_MODE_DEFINE
1218 #undef FLAG_MODE_DEFINE_DEFAULTS 1225 #undef FLAG_MODE_DEFINE_DEFAULTS
1219 #undef FLAG_MODE_META 1226 #undef FLAG_MODE_META
1220 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1227 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1221 1228
1222 #undef COMMA 1229 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698