Index: src/arm64/ic-arm64.cc |
diff --git a/src/arm64/ic-arm64.cc b/src/arm64/ic-arm64.cc |
index 904006122c656408bfb4b865ba84fa66ca63d456..1607e5fb22d631b8d99eafd3706f33b396af4499 100644 |
--- a/src/arm64/ic-arm64.cc |
+++ b/src/arm64/ic-arm64.cc |
@@ -1028,10 +1028,10 @@ static void KeyedStoreGenerateGenericHelper( |
x10, |
x11, |
slow); |
- ASSERT(receiver_map.Is(x3)); // Transition code expects map in x3. |
AllocationSiteMode mode = AllocationSite::GetMode(FAST_SMI_ELEMENTS, |
FAST_DOUBLE_ELEMENTS); |
- ElementsTransitionGenerator::GenerateSmiToDouble(masm, mode, slow); |
+ ElementsTransitionGenerator::GenerateSmiToDouble( |
+ masm, receiver, key, value, receiver_map, mode, slow); |
__ Ldr(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); |
__ B(&fast_double_without_map_check); |
@@ -1043,10 +1043,11 @@ static void KeyedStoreGenerateGenericHelper( |
x10, |
x11, |
slow); |
- ASSERT(receiver_map.Is(x3)); // Transition code expects map in x3. |
+ |
mode = AllocationSite::GetMode(FAST_SMI_ELEMENTS, FAST_ELEMENTS); |
- ElementsTransitionGenerator::GenerateMapChangeElementsTransition(masm, mode, |
- slow); |
+ ElementsTransitionGenerator::GenerateMapChangeElementsTransition( |
+ masm, receiver, key, value, receiver_map, mode, slow); |
+ |
__ Ldr(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); |
__ B(&finish_store); |
@@ -1060,9 +1061,9 @@ static void KeyedStoreGenerateGenericHelper( |
x10, |
x11, |
slow); |
- ASSERT(receiver_map.Is(x3)); // Transition code expects map in x3. |
mode = AllocationSite::GetMode(FAST_DOUBLE_ELEMENTS, FAST_ELEMENTS); |
- ElementsTransitionGenerator::GenerateDoubleToObject(masm, mode, slow); |
+ ElementsTransitionGenerator::GenerateDoubleToObject( |
+ masm, receiver, key, value, receiver_map, mode, slow); |
__ Ldr(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); |
__ B(&finish_store); |
} |