Index: src/lithium-allocator.cc |
diff --git a/src/lithium-allocator.cc b/src/lithium-allocator.cc |
index abdef0932011b94a862665cd7756808af32362b5..a1f808a18f74393d56bde78d2ef502940379b485 100644 |
--- a/src/lithium-allocator.cc |
+++ b/src/lithium-allocator.cc |
@@ -745,10 +745,10 @@ void LAllocator::AddConstraintsGapMove(int index, |
const ZoneList<LMoveOperands>* move_operands = move->move_operands(); |
for (int i = 0; i < move_operands->length(); ++i) { |
LMoveOperands cur = move_operands->at(i); |
- LOperand* cur_to = cur.to(); |
+ LOperand* cur_to = cur.destination(); |
if (cur_to->IsUnallocated()) { |
if (cur_to->VirtualRegister() == from->VirtualRegister()) { |
- move->AddMove(cur.from(), to); |
+ move->AddMove(cur.source(), to); |
return; |
} |
} |
@@ -893,8 +893,8 @@ void LAllocator::ProcessInstructions(HBasicBlock* block, BitVector* live) { |
for (int i = 0; i < move_operands->length(); ++i) { |
LMoveOperands* cur = &move_operands->at(i); |
if (cur->IsIgnored()) continue; |
- LOperand* from = cur->from(); |
- LOperand* to = cur->to(); |
+ LOperand* from = cur->source(); |
+ LOperand* to = cur->destination(); |
HPhi* phi = LookupPhi(to); |
LOperand* hint = to; |
if (phi != NULL) { |
@@ -1214,9 +1214,9 @@ void LAllocator::BuildLiveRanges() { |
LGap* gap = GetLastGap(phi->block()->predecessors()->at(0)); |
LParallelMove* move = gap->GetOrCreateParallelMove(LGap::START); |
for (int j = 0; j < move->move_operands()->length(); ++j) { |
- LOperand* to = move->move_operands()->at(j).to(); |
+ LOperand* to = move->move_operands()->at(j).destination(); |
if (to->IsUnallocated() && to->VirtualRegister() == phi->id()) { |
- hint = move->move_operands()->at(j).from(); |
+ hint = move->move_operands()->at(j).source(); |
phi_operand = to; |
break; |
} |