diff options
author | 2015-04-15 14:10:29 +0000 | |
---|---|---|
committer | 2015-04-15 14:10:29 +0000 | |
commit | a76a08fed88bd081bcc4d240f1ba3472a2acbbab (patch) | |
tree | cd016bb007c3757ab2a6df28bc1a65d6a8e78e44 /compiler/optimizing/parallel_move_resolver.cc | |
parent | acf9b7b7616a9b104e6f2146051d8e14d9cb9030 (diff) | |
parent | 9021825d1e73998b99c81e89c73796f6f2845471 (diff) |
Merge "Type MoveOperands."
Diffstat (limited to 'compiler/optimizing/parallel_move_resolver.cc')
-rw-r--r-- | compiler/optimizing/parallel_move_resolver.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/optimizing/parallel_move_resolver.cc b/compiler/optimizing/parallel_move_resolver.cc index 4936685367..0c7f0da611 100644 --- a/compiler/optimizing/parallel_move_resolver.cc +++ b/compiler/optimizing/parallel_move_resolver.cc @@ -189,9 +189,9 @@ MoveOperands* ParallelMoveResolver::PerformMove(size_t index) { const MoveOperands& other_move = *moves_.Get(i); if (other_move.Blocks(destination)) { DCHECK(other_move.IsPending()); - if (!destination.IsPair() && other_move.GetSource().IsPair()) { - // We swap pairs before swapping non-pairs. Go back from the - // cycle by returning the pair that must be swapped. + if (!move->Is64BitMove() && other_move.Is64BitMove()) { + // We swap 64bits moves before swapping 32bits moves. Go back from the + // cycle by returning the move that must be swapped. return moves_.Get(i); } do_swap = true; @@ -216,7 +216,7 @@ MoveOperands* ParallelMoveResolver::PerformMove(size_t index) { UpdateSourceOf(moves_.Get(i), swap_destination, source); } } - // If the swap was required because of a pair in the middle of a cycle, + // If the swap was required because of a 64bits move in the middle of a cycle, // we return the swapped move, so that the caller knows it needs to re-iterate // its dependency loop. return required_swap; |