Revision: 7498
Author:   [email protected]
Date:     Tue Apr  5 00:57:35 2011
Log:      Fix overlapping registers in external array stores on x64.

[email protected]
BUG=
TEST=

Review URL: http://codereview.chromium.org/6794047
http://code.google.com/p/v8/source/detail?r=7498

Modified:
 /branches/bleeding_edge/src/x64/lithium-x64.cc

=======================================
--- /branches/bleeding_edge/src/x64/lithium-x64.cc      Mon Apr  4 08:03:34 2011
+++ /branches/bleeding_edge/src/x64/lithium-x64.cc      Tue Apr  5 00:57:35 2011
@@ -1891,7 +1891,7 @@
       array_type == kExternalFloatArray;
   LOperand* val = val_is_temp_register
       ? UseTempRegister(instr->value())
-      : UseRegister(instr->key());
+      : UseRegister(instr->value());
   LOperand* key = UseRegister(instr->key());

   return new LStoreKeyedSpecializedArrayElement(external_pointer,

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to