Reviewers: Jakob,
Description:
Fix elements transition bug on x64 in generic KeyedStoreIC
[email protected]
Please review this at https://chromiumcodereview.appspot.com/9307056/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/x64/ic-x64.cc
Index: src/x64/ic-x64.cc
diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc
index
eae12fbaf24dc4127a85cf28e66d76a867854ff9..0632ce439f3c2c91171dc70380e52b1893c9330d
100644
--- a/src/x64/ic-x64.cc
+++ b/src/x64/ic-x64.cc
@@ -765,6 +765,7 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm,
__ 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