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

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

Issue 2680313002: Count closures using the feedback vector cell map, specialize if count==1. (Closed)
Patch Set: Only specialize if compiling from bytecode Created 3 years, 10 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/feedback-vector.cc ('k') | src/heap/heap.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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 DEFINE_BOOL(turbo_loop_variable, true, "Turbofan loop variable optimization") 486 DEFINE_BOOL(turbo_loop_variable, true, "Turbofan loop variable optimization")
487 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") 487 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan")
488 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") 488 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan")
489 DEFINE_BOOL(turbo_escape, true, "enable escape analysis") 489 DEFINE_BOOL(turbo_escape, true, "enable escape analysis")
490 DEFINE_BOOL(turbo_instruction_scheduling, false, 490 DEFINE_BOOL(turbo_instruction_scheduling, false,
491 "enable instruction scheduling in TurboFan") 491 "enable instruction scheduling in TurboFan")
492 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, 492 DEFINE_BOOL(turbo_stress_instruction_scheduling, false,
493 "randomly schedule instructions to stress dependency tracking") 493 "randomly schedule instructions to stress dependency tracking")
494 DEFINE_BOOL(turbo_store_elimination, true, 494 DEFINE_BOOL(turbo_store_elimination, true,
495 "enable store-store elimination in TurboFan") 495 "enable store-store elimination in TurboFan")
496 DEFINE_BOOL(turbo_lower_create_closure, false,
497 "enable inline allocation for closure instantiation")
498 // TODO(turbofan): Rename --crankshaft to --optimize eventually. 496 // TODO(turbofan): Rename --crankshaft to --optimize eventually.
499 DEFINE_IMPLICATION(turbo, crankshaft) 497 DEFINE_IMPLICATION(turbo, crankshaft)
500 498
501 // Flags to help platform porters 499 // Flags to help platform porters
502 DEFINE_BOOL(minimal, false, 500 DEFINE_BOOL(minimal, false,
503 "simplifies execution model to make porting " 501 "simplifies execution model to make porting "
504 "easier (e.g. always use Ignition, never use Crankshaft") 502 "easier (e.g. always use Ignition, never use Crankshaft")
505 DEFINE_IMPLICATION(minimal, ignition) 503 DEFINE_IMPLICATION(minimal, ignition)
506 DEFINE_NEG_IMPLICATION(minimal, crankshaft) 504 DEFINE_NEG_IMPLICATION(minimal, crankshaft)
507 DEFINE_NEG_IMPLICATION(minimal, use_ic) 505 DEFINE_NEG_IMPLICATION(minimal, use_ic)
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 #undef DEFINE_ALIAS_FLOAT 1306 #undef DEFINE_ALIAS_FLOAT
1309 #undef DEFINE_ALIAS_ARGS 1307 #undef DEFINE_ALIAS_ARGS
1310 1308
1311 #undef FLAG_MODE_DECLARE 1309 #undef FLAG_MODE_DECLARE
1312 #undef FLAG_MODE_DEFINE 1310 #undef FLAG_MODE_DEFINE
1313 #undef FLAG_MODE_DEFINE_DEFAULTS 1311 #undef FLAG_MODE_DEFINE_DEFAULTS
1314 #undef FLAG_MODE_META 1312 #undef FLAG_MODE_META
1315 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1313 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1316 1314
1317 #undef COMMA 1315 #undef COMMA
OLDNEW
« no previous file with comments | « src/feedback-vector.cc ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698