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
This commit is contained in:
haitao.feng@intel.com 2014-03-12 02:21:03 +00:00
parent 6cf22a6041
commit 23af599c18

View File

@ -2114,7 +2114,7 @@ LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) {
Representation value_representation = instr->value()->representation(); Representation value_representation = instr->value()->representation();
if (value_representation.IsDouble()) { if (value_representation.IsDouble()) {
object = UseRegisterAtStart(instr->elements()); object = UseRegisterAtStart(instr->elements());
val = UseTempRegister(instr->value()); val = UseRegisterAtStart(instr->value());
key = UseRegisterOrConstantAtStart(instr->key()); key = UseRegisterOrConstantAtStart(instr->key());
} else { } else {
ASSERT(value_representation.IsSmiOrTagged() || ASSERT(value_representation.IsSmiOrTagged() ||