Index: src/x64/ic-x64.cc |
diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc |
index 15186680295aee30d1c6b192dd353639c50f543c..e8ab06cdab950e8c4ebe9c2f5004c17d0da27804 100644 |
--- a/src/x64/ic-x64.cc |
+++ b/src/x64/ic-x64.cc |
@@ -716,7 +716,7 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm, |
rax); |
__ movq(rdx, rax); // Preserve the value which is returned. |
__ RecordWriteArray( |
- rbx, rax, rcx, kDontSaveFPRegs, EMIT_REMEMBERED_SET, OMIT_SMI_CHECK); |
+ rbx, rdx, rcx, kDontSaveFPRegs, EMIT_REMEMBERED_SET, OMIT_SMI_CHECK); |
__ ret(0); |
__ bind(&fast_double_with_map_check); |