From 56b9ee6fe1d6880c5fca0e7feb28b25a1ded2e2f Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Thu, 9 Oct 2014 11:47:51 +0100 Subject: Stop converting from Location to ManagedRegister. Now the source of truth is the Location object that knows which register (core, pair, fpu) it needs to refer to. Change-Id: I62401343d7479ecfb24b5ed161ec7829cda5a0b1 --- compiler/optimizing/parallel_move_test.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'compiler/optimizing/parallel_move_test.cc') diff --git a/compiler/optimizing/parallel_move_test.cc b/compiler/optimizing/parallel_move_test.cc index 863e107ee6..2bdcc61b04 100644 --- a/compiler/optimizing/parallel_move_test.cc +++ b/compiler/optimizing/parallel_move_test.cc @@ -32,9 +32,9 @@ class TestParallelMoveResolver : public ParallelMoveResolver { message_ << " "; } message_ << "(" - << move->GetSource().reg().RegId() + << move->GetSource().reg() << " -> " - << move->GetDestination().reg().RegId() + << move->GetDestination().reg() << ")"; } @@ -44,9 +44,9 @@ class TestParallelMoveResolver : public ParallelMoveResolver { message_ << " "; } message_ << "(" - << move->GetSource().reg().RegId() + << move->GetSource().reg() << " <-> " - << move->GetDestination().reg().RegId() + << move->GetDestination().reg() << ")"; } @@ -70,8 +70,8 @@ static HParallelMove* BuildParallelMove(ArenaAllocator* allocator, HParallelMove* moves = new (allocator) HParallelMove(allocator); for (size_t i = 0; i < number_of_moves; ++i) { moves->AddMove(new (allocator) MoveOperands( - Location::RegisterLocation(ManagedRegister(operands[i][0])), - Location::RegisterLocation(ManagedRegister(operands[i][1])), + Location::RegisterLocation(operands[i][0]), + Location::RegisterLocation(operands[i][1]), nullptr)); } return moves; -- cgit v1.2.3-59-g8ed1b