Commit ee9c65e4 authored by danno@chromium.org's avatar danno@chromium.org

Fix elements transition bug on x64 in generic KeyedStoreIC

R=jkummerow@chromium.org

Review URL: https://chromiumcodereview.appspot.com/9307056

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10589 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 6f20db97
...@@ -765,6 +765,7 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm, ...@@ -765,6 +765,7 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm,
__ movq(rbx, FieldOperand(rdx, HeapObject::kMapOffset)); __ movq(rbx, FieldOperand(rdx, HeapObject::kMapOffset));
// Transition the array appropriately depending on the value type. // Transition the array appropriately depending on the value type.
__ movq(r9, FieldOperand(rax, HeapObject::kMapOffset));
__ CompareRoot(r9, Heap::kHeapNumberMapRootIndex); __ CompareRoot(r9, Heap::kHeapNumberMapRootIndex);
__ j(not_equal, &non_double_value); __ j(not_equal, &non_double_value);
......
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