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); |