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

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

Issue 2611313002: [complier] Enable parallel eager inner function compilation with compiler dispatcher. (Closed)
Patch Set: Created 3 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
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_IMPLICATION(harmony, id) 249 DEFINE_IMPLICATION(harmony, id)
250 HARMONY_STAGED(FLAG_STAGED_FEATURES) 250 HARMONY_STAGED(FLAG_STAGED_FEATURES)
251 #undef FLAG_STAGED_FEATURES 251 #undef FLAG_STAGED_FEATURES
252 252
253 #define FLAG_SHIPPING_FEATURES(id, description) \ 253 #define FLAG_SHIPPING_FEATURES(id, description) \
254 DEFINE_BOOL(id, true, "enable " #description) \ 254 DEFINE_BOOL(id, true, "enable " #description) \
255 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) 255 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id)
256 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) 256 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES)
257 #undef FLAG_SHIPPING_FEATURES 257 #undef FLAG_SHIPPING_FEATURES
258 258
259 // Flags for future configurations.
259 DEFINE_BOOL(future, false, 260 DEFINE_BOOL(future, false,
260 "Implies all staged features that we want to ship in the " 261 "Implies all staged features that we want to ship in the "
261 "not-too-far future") 262 "not-too-far future")
262 DEFINE_IMPLICATION(future, ignition_staging) 263 DEFINE_IMPLICATION(future, ignition_staging)
263 264
265 DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features")
marja 2017/01/10 09:58:54 Why are these now moved out of the "Flags for Igni
rmcilroy 2017/01/12 12:31:55 When writing this CL I got very confused initially
266 DEFINE_IMPLICATION(ignition_staging, ignition)
267 DEFINE_IMPLICATION(ignition_staging, compiler_dispatcher)
268
264 // Flags for experimental implementation features. 269 // Flags for experimental implementation features.
265 DEFINE_BOOL(allocation_site_pretenuring, true, 270 DEFINE_BOOL(allocation_site_pretenuring, true,
266 "pretenure with allocation sites") 271 "pretenure with allocation sites")
267 DEFINE_BOOL(page_promotion, true, "promote pages based on utilization") 272 DEFINE_BOOL(page_promotion, true, "promote pages based on utilization")
268 DEFINE_INT(page_promotion_threshold, 70, 273 DEFINE_INT(page_promotion_threshold, 70,
269 "min percentage of live bytes on a page to enable fast evacuation") 274 "min percentage of live bytes on a page to enable fast evacuation")
270 DEFINE_BOOL(trace_pretenuring, false, 275 DEFINE_BOOL(trace_pretenuring, false,
271 "trace pretenuring decisions of HAllocate instructions") 276 "trace pretenuring decisions of HAllocate instructions")
272 DEFINE_BOOL(trace_pretenuring_statistics, false, 277 DEFINE_BOOL(trace_pretenuring_statistics, false,
273 "trace allocation site pretenuring statistics") 278 "trace allocation site pretenuring statistics")
(...skipping 17 matching lines...) Expand all
291 "speed") 296 "speed")
292 297
293 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) 298 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1)
294 299
295 // Flags for data representation optimizations 300 // Flags for data representation optimizations
296 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") 301 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles")
297 DEFINE_BOOL(string_slices, true, "use string slices") 302 DEFINE_BOOL(string_slices, true, "use string slices")
298 303
299 // Flags for Ignition. 304 // Flags for Ignition.
300 DEFINE_BOOL(ignition, false, "use ignition interpreter") 305 DEFINE_BOOL(ignition, false, "use ignition interpreter")
301 DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features")
302 DEFINE_IMPLICATION(ignition_staging, ignition)
303 DEFINE_IMPLICATION(ignition_staging, compiler_dispatcher)
304 DEFINE_STRING(ignition_filter, "*", "filter for ignition interpreter") 306 DEFINE_STRING(ignition_filter, "*", "filter for ignition interpreter")
305 DEFINE_BOOL(ignition_deadcode, true, 307 DEFINE_BOOL(ignition_deadcode, true,
306 "use ignition dead code elimination optimizer") 308 "use ignition dead code elimination optimizer")
307 DEFINE_BOOL(ignition_osr, true, "enable support for OSR from ignition code") 309 DEFINE_BOOL(ignition_osr, true, "enable support for OSR from ignition code")
308 DEFINE_BOOL(ignition_peephole, true, "use ignition peephole optimizer") 310 DEFINE_BOOL(ignition_peephole, true, "use ignition peephole optimizer")
309 DEFINE_BOOL(ignition_reo, true, "use ignition register equivalence optimizer") 311 DEFINE_BOOL(ignition_reo, true, "use ignition register equivalence optimizer")
310 DEFINE_BOOL(ignition_filter_expression_positions, true, 312 DEFINE_BOOL(ignition_filter_expression_positions, true,
311 "filter expression positions before the bytecode pipeline") 313 "filter expression positions before the bytecode pipeline")
312 DEFINE_BOOL(print_bytecode, false, 314 DEFINE_BOOL(print_bytecode, false,
313 "print bytecode generated by ignition interpreter") 315 "print bytecode generated by ignition interpreter")
(...skipping 961 matching lines...) Expand 10 before | Expand all | Expand 10 after
1275 #undef DEFINE_ALIAS_FLOAT 1277 #undef DEFINE_ALIAS_FLOAT
1276 #undef DEFINE_ALIAS_ARGS 1278 #undef DEFINE_ALIAS_ARGS
1277 1279
1278 #undef FLAG_MODE_DECLARE 1280 #undef FLAG_MODE_DECLARE
1279 #undef FLAG_MODE_DEFINE 1281 #undef FLAG_MODE_DEFINE
1280 #undef FLAG_MODE_DEFINE_DEFAULTS 1282 #undef FLAG_MODE_DEFINE_DEFAULTS
1281 #undef FLAG_MODE_META 1283 #undef FLAG_MODE_META
1282 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1284 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1283 1285
1284 #undef COMMA 1286 #undef COMMA
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698