Index: src/ia32/code-stubs-ia32.h |
diff --git a/src/ia32/code-stubs-ia32.h b/src/ia32/code-stubs-ia32.h |
index dc536e7eaee29a40a0fe0e11cebe3eaf0538e89f..006651c9c8032bcfa336040cad547c6fcce0d2b3 100644 |
--- a/src/ia32/code-stubs-ia32.h |
+++ b/src/ia32/code-stubs-ia32.h |
@@ -444,7 +444,7 @@ class RecordWriteStub: public PlatformCodeStub { |
// Save all XMM registers except XMM0. |
for (int i = XMMRegister::kNumRegisters - 1; i > 0; i--) { |
XMMRegister reg = XMMRegister::from_code(i); |
- masm->movdbl(Operand(esp, (i - 1) * kDoubleSize), reg); |
+ masm->movsd(Operand(esp, (i - 1) * kDoubleSize), reg); |
} |
} |
} |
@@ -456,7 +456,7 @@ class RecordWriteStub: public PlatformCodeStub { |
// Restore all XMM registers except XMM0. |
for (int i = XMMRegister::kNumRegisters - 1; i > 0; i--) { |
XMMRegister reg = XMMRegister::from_code(i); |
- masm->movdbl(reg, Operand(esp, (i - 1) * kDoubleSize)); |
+ masm->movsd(reg, Operand(esp, (i - 1) * kDoubleSize)); |
} |
masm->add(esp, |
Immediate(kDoubleSize * (XMMRegister::kNumRegisters - 1))); |