Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index 114cbdc2d0c8893d3c70969556367ae7a9bc8046..6731e9eba86a5fe2e4826e9b21eba8249076fb9b 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -243,8 +243,9 @@ void ElementsTransitionGenerator::GenerateSmiToDouble( |
// rbx: current element (smi-tagged) |
__ JumpIfNotSmi(rbx, &convert_hole); |
__ SmiToInteger32(rbx, rbx); |
- __ Cvtlsi2sd(xmm0, rbx); |
- __ Movsd(FieldOperand(r14, r9, times_8, FixedDoubleArray::kHeaderSize), xmm0); |
+ __ Cvtlsi2sd(kScratchDoubleReg, rbx); |
+ __ Movsd(FieldOperand(r14, r9, times_8, FixedDoubleArray::kHeaderSize), |
+ kScratchDoubleReg); |
__ jmp(&entry); |
__ bind(&convert_hole); |