| Index: src/lithium-allocator.cc
|
| ===================================================================
|
| --- src/lithium-allocator.cc (revision 6384)
|
| +++ src/lithium-allocator.cc (working copy)
|
| @@ -745,10 +745,10 @@
|
| 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;
|
| }
|
| }
|
| @@ -896,8 +896,8 @@
|
| 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) {
|
| @@ -1217,9 +1217,9 @@
|
| 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;
|
| }
|
|
|