From 55c232aa10830bd4a0489d649fc4b53239e6372e Mon Sep 17 00:00:00 2001 From: "svenpanne@chromium.org" Date: Wed, 12 Mar 2014 06:46:55 +0000 Subject: [PATCH] Revert "Don't need a temp register for StoreKeyed double" This reverts commit r19829 for breaking the mozilla tests. R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/196343003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19830 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 101c406..c567b73 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 = UseRegisterAtStart(instr->value()); + val = UseTempRegister(instr->value()); key = UseRegisterOrConstantAtStart(instr->key()); } else { ASSERT(value_representation.IsSmiOrTagged() || -- 2.7.4