[turbofan] enable stack slot reuse

BUG=

Review URL: https://codereview.chromium.org/793683002

Cr-Commit-Position: refs/heads/master@{#25841}
This commit is contained in:
dcarney 2014-12-16 05:09:15 -08:00 committed by Commit bot
parent 2b4eb88cdd
commit 0349f7b71f
2 changed files with 2 additions and 2 deletions

View File

@ -965,8 +965,8 @@ SpillRange* RegisterAllocator::AssignSpillRangeToLiveRange(LiveRange* range) {
bool RegisterAllocator::TryReuseSpillForPhi(LiveRange* range) {
DCHECK(FLAG_turbo_reuse_spill_slots);
DCHECK(range->HasNoSpillType());
if (range->IsChild() || !range->is_phi()) return false;
DCHECK(range->HasNoSpillType());
auto lookup = phi_map_.find(range->id());
DCHECK(lookup != phi_map_.end());

View File

@ -402,7 +402,7 @@ DEFINE_IMPLICATION(turbo_inlining_intrinsics, turbo_inlining)
DEFINE_IMPLICATION(turbo_inlining, turbo_types)
DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan")
// TODO(dcarney): this is just for experimentation, remove when default.
DEFINE_BOOL(turbo_reuse_spill_slots, false, "reuse spill slots in TurboFan")
DEFINE_BOOL(turbo_reuse_spill_slots, true, "reuse spill slots in TurboFan")
// TODO(dcarney): this is just for experimentation, remove when default.
DEFINE_BOOL(turbo_delay_ssa_decon, false,
"delay ssa deconstruction in TurboFan register allocator")