From 70b9d56e067f21388055d35876e133eafd2f87c1 Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Wed, 26 Oct 2011 11:34:11 +0000 Subject: [PATCH] Fixing issue 1788. BUG=v8:1788 Review URL: http://codereview.chromium.org/8396037 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9792 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/x64/ic-x64.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc index 1518668029..e8ab06cdab 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);