Index: src/compiler/arm64/code-generator-arm64.cc |
diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc |
index 3c5aa4173f8666304fe183e9438503febe830059..c8d5f26d0dc6b3303623a9343a0cab8d69dd5405 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -837,7 +837,7 @@ void CodeGenerator::AssembleSwap(InstructionOperand* source, |
FPRegister dst = g.ToDoubleRegister(destination); |
__ Fmov(temp, src); |
__ Fmov(src, dst); |
- __ Fmov(src, temp); |
+ __ Fmov(dst, temp); |
} else { |
DCHECK(destination->IsDoubleStackSlot()); |
MemOperand dst = g.ToMemOperand(destination, masm()); |