Index: src/mips/ic-mips.cc |
diff --git a/src/mips/ic-mips.cc b/src/mips/ic-mips.cc |
index f38e736f8cb7dc4acb489165626dbbe19e46fd7e..629aef9b6c76c7e83a1fd64e895ad7a76b269fac 100644 |
--- a/src/mips/ic-mips.cc |
+++ b/src/mips/ic-mips.cc |
@@ -927,10 +927,10 @@ static void KeyedStoreGenerateGenericHelper( |
receiver_map, |
t0, |
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); |
__ lw(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); |
__ jmp(&fast_double_without_map_check); |
@@ -941,10 +941,9 @@ static void KeyedStoreGenerateGenericHelper( |
receiver_map, |
t0, |
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); |
__ lw(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); |
__ jmp(&finish_object_store); |
@@ -957,9 +956,9 @@ static void KeyedStoreGenerateGenericHelper( |
receiver_map, |
t0, |
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); |
__ lw(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); |
__ jmp(&finish_object_store); |
} |