Commit 101413a0 authored by ager@chromium.org's avatar ager@chromium.org

Fix overlapping registers in external array stores on x64.

R=danno@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/6794047

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7498 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 1ad59b91
...@@ -1891,7 +1891,7 @@ LInstruction* LChunkBuilder::DoStoreKeyedSpecializedArrayElement( ...@@ -1891,7 +1891,7 @@ LInstruction* LChunkBuilder::DoStoreKeyedSpecializedArrayElement(
array_type == kExternalFloatArray; array_type == kExternalFloatArray;
LOperand* val = val_is_temp_register LOperand* val = val_is_temp_register
? UseTempRegister(instr->value()) ? UseTempRegister(instr->value())
: UseRegister(instr->key()); : UseRegister(instr->value());
LOperand* key = UseRegister(instr->key()); LOperand* key = UseRegister(instr->key());
return new LStoreKeyedSpecializedArrayElement(external_pointer, return new LStoreKeyedSpecializedArrayElement(external_pointer,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment