Index: src/compiler/gap-resolver.cc |
diff --git a/src/compiler/gap-resolver.cc b/src/compiler/gap-resolver.cc |
index bad0a9227488150c4c295e496890ea3f7fcf4a78..4107b0f7bf7551748cf282d93beb854bbb302ff5 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.EqualsModuloType(destination)) { |
+ if (source.EqualsCanonicalized(destination)) { |
move->Eliminate(); |
return; |
} |