diff --git a/src/lithium-allocator.cc b/src/lithium-allocator.cc index 66f5a81a89..cac7d65e98 100644 --- a/src/lithium-allocator.cc +++ b/src/lithium-allocator.cc @@ -2013,20 +2013,6 @@ bool LAllocator::IsBlockBoundary(LifetimePosition pos) { } -void LAllocator::AddGapMove(int pos, LiveRange* prev, LiveRange* next) { - UsePosition* prev_pos = prev->AddUsePosition( - LifetimePosition::FromInstructionIndex(pos)); - UsePosition* next_pos = next->AddUsePosition( - LifetimePosition::FromInstructionIndex(pos)); - LOperand* prev_operand = prev_pos->operand(); - LOperand* next_operand = next_pos->operand(); - LGap* gap = chunk_->GetGapAt(pos); - gap->GetOrCreateParallelMove(LGap::START)-> - AddMove(prev_operand, next_operand); - next_pos->set_hint(prev_operand); -} - - LiveRange* LAllocator::SplitAt(LiveRange* range, LifetimePosition pos) { ASSERT(!range->IsFixed()); TraceAlloc("Splitting live range %d at %d\n", range->id(), pos.Value()); diff --git a/src/lithium-allocator.h b/src/lithium-allocator.h index 1a01378c12..83f5583e3e 100644 --- a/src/lithium-allocator.h +++ b/src/lithium-allocator.h @@ -591,7 +591,6 @@ class LAllocator BASE_EMBEDDED { void Spill(LiveRange* range); bool IsBlockBoundary(LifetimePosition pos); - void AddGapMove(int pos, LiveRange* prev, LiveRange* next); // Helper methods for resolving control flow. void ResolveControlFlow(LiveRange* range,