| Index: src/compiler/gap-resolver.cc
|
| diff --git a/src/compiler/gap-resolver.cc b/src/compiler/gap-resolver.cc
|
| index d9b20b64886187e2e910817e88f594e34822dfc8..e5de73781b60327b717761c0a6d3957a0ec59670 100644
|
| --- a/src/compiler/gap-resolver.cc
|
| +++ b/src/compiler/gap-resolver.cc
|
| @@ -75,7 +75,7 @@ void GapResolver::PerformMove(ParallelMove* moves, MoveOperands* move) const {
|
| // This move's source may have changed due to swaps to resolve cycles and so
|
| // it may now be the last move in the cycle. If so remove it.
|
| InstructionOperand source = move->source();
|
| - if (source == destination) {
|
| + if (source.EqualsModuloType(destination)) {
|
| move->Eliminate();
|
| return;
|
| }
|
|
|