Revision: 10589
Author:   [email protected]
Date:     Thu Feb  2 05:17:46 2012
Log:      Fix elements transition bug on x64 in generic KeyedStoreIC

[email protected]

Review URL: https://chromiumcodereview.appspot.com/9307056
http://code.google.com/p/v8/source/detail?r=10589

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

=======================================
--- /branches/bleeding_edge/src/x64/ic-x64.cc   Thu Feb  2 03:22:26 2012
+++ /branches/bleeding_edge/src/x64/ic-x64.cc   Thu Feb  2 05:17:46 2012
@@ -765,6 +765,7 @@
   __ movq(rbx, FieldOperand(rdx, HeapObject::kMapOffset));

   // Transition the array appropriately depending on the value type.
+  __ movq(r9, FieldOperand(rax, HeapObject::kMapOffset));
   __ CompareRoot(r9, Heap::kHeapNumberMapRootIndex);
   __ j(not_equal, &non_double_value);

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

Reply via email to