From 23af599c18df71b7ce85b0acd3672ce148e25b14 Mon Sep 17 00:00:00 2001 From: "haitao.feng@intel.com" Date: Wed, 12 Mar 2014 02:21:03 +0000 Subject: [PATCH] Don't need a temp register for StoreKeyed double save a gap move BUG= R=danno@chromium.org Review URL: https://codereview.chromium.org/174693002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19829 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/x64/lithium-x64.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc index c567b73d1c..101c406ab1 100644 --- a/src/x64/lithium-x64.cc +++ b/src/x64/lithium-x64.cc @@ -2114,7 +2114,7 @@ LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) { Representation value_representation = instr->value()->representation(); if (value_representation.IsDouble()) { object = UseRegisterAtStart(instr->elements()); - val = UseTempRegister(instr->value()); + val = UseRegisterAtStart(instr->value()); key = UseRegisterOrConstantAtStart(instr->key()); } else { ASSERT(value_representation.IsSmiOrTagged() ||