Index: src/mips64/ic-mips64.cc |
diff --git a/src/mips64/ic-mips64.cc b/src/mips64/ic-mips64.cc |
index bafd189372bfe672f27073140538a26659e410fa..3adf9f6ad490ac2700fef0d6639f52f8be53bc0a 100644 |
--- a/src/mips64/ic-mips64.cc |
+++ b/src/mips64/ic-mips64.cc |
@@ -938,10 +938,10 @@ static void KeyedStoreGenerateGenericHelper( |
receiver_map, |
a4, |
slow); |
- ASSERT(receiver_map.is(a3)); // Transition code expects map in a3 |
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); |
__ ld(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); |
__ jmp(&fast_double_without_map_check); |
@@ -952,10 +952,9 @@ static void KeyedStoreGenerateGenericHelper( |
receiver_map, |
a4, |
slow); |
- ASSERT(receiver_map.is(a3)); // Transition code expects map in a3 |
mode = AllocationSite::GetMode(FAST_SMI_ELEMENTS, FAST_ELEMENTS); |
- ElementsTransitionGenerator::GenerateMapChangeElementsTransition(masm, mode, |
- slow); |
+ ElementsTransitionGenerator::GenerateMapChangeElementsTransition( |
+ masm, receiver, key, value, receiver_map, mode, slow); |
__ ld(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); |
__ jmp(&finish_object_store); |
@@ -968,9 +967,9 @@ static void KeyedStoreGenerateGenericHelper( |
receiver_map, |
a4, |
slow); |
- ASSERT(receiver_map.is(a3)); // Transition code expects map in a3 |
mode = AllocationSite::GetMode(FAST_DOUBLE_ELEMENTS, FAST_ELEMENTS); |
- ElementsTransitionGenerator::GenerateDoubleToObject(masm, mode, slow); |
+ ElementsTransitionGenerator::GenerateDoubleToObject( |
+ masm, receiver, key, value, receiver_map, mode, slow); |
__ ld(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); |
__ jmp(&finish_object_store); |
} |