Index: src/compiler/x87/code-generator-x87.cc |
diff --git a/src/compiler/x87/code-generator-x87.cc b/src/compiler/x87/code-generator-x87.cc |
index 3828e7d5cf0cd9ea564916f95ca458aab2eddbef..b0d3203a3cbbf0ba371c5621a506541697c68b71 100644 |
--- a/src/compiler/x87/code-generator-x87.cc |
+++ b/src/compiler/x87/code-generator-x87.cc |
@@ -1295,8 +1295,8 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
InstructionOperand* input = instr->InputAt(0); |
if (input->IsDoubleRegister()) { |
__ sub(esp, Immediate(kDoubleSize)); |
- __ fstp_d(MemOperand(esp, 0)); |
- __ fld_d(MemOperand(esp, 0)); |
+ __ fstp_s(MemOperand(esp, 0)); |
+ __ fld_s(MemOperand(esp, 0)); |
__ add(esp, Immediate(kDoubleSize)); |
} else { |
DCHECK(input->IsDoubleStackSlot()); |