Index: src/mips/ic-mips.cc |
diff --git a/src/mips/ic-mips.cc b/src/mips/ic-mips.cc |
index 896e03007b9869b6fad6c883de065f3f6891e725..f659285947a2bf78365f56f4421c2f70f9f60c22 100644 |
--- a/src/mips/ic-mips.cc |
+++ b/src/mips/ic-mips.cc |
@@ -1261,8 +1261,8 @@ static void KeyedStoreGenerateGenericHelper( |
t0, |
slow); |
ASSERT(receiver_map.is(a3)); // Transition code expects map in a3 |
- AllocationSiteMode mode = AllocationSiteInfo::GetMode(FAST_SMI_ELEMENTS, |
- FAST_DOUBLE_ELEMENTS); |
+ AllocationSiteMode mode = AllocationSite::GetMode(FAST_SMI_ELEMENTS, |
+ FAST_DOUBLE_ELEMENTS); |
ElementsTransitionGenerator::GenerateSmiToDouble(masm, mode, slow); |
__ lw(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); |
__ jmp(&fast_double_without_map_check); |
@@ -1275,7 +1275,7 @@ static void KeyedStoreGenerateGenericHelper( |
t0, |
slow); |
ASSERT(receiver_map.is(a3)); // Transition code expects map in a3 |
- mode = AllocationSiteInfo::GetMode(FAST_SMI_ELEMENTS, FAST_ELEMENTS); |
+ mode = AllocationSite::GetMode(FAST_SMI_ELEMENTS, FAST_ELEMENTS); |
ElementsTransitionGenerator::GenerateMapChangeElementsTransition(masm, mode, |
slow); |
__ lw(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); |
@@ -1291,7 +1291,7 @@ static void KeyedStoreGenerateGenericHelper( |
t0, |
slow); |
ASSERT(receiver_map.is(a3)); // Transition code expects map in a3 |
- mode = AllocationSiteInfo::GetMode(FAST_DOUBLE_ELEMENTS, FAST_ELEMENTS); |
+ mode = AllocationSite::GetMode(FAST_DOUBLE_ELEMENTS, FAST_ELEMENTS); |
ElementsTransitionGenerator::GenerateDoubleToObject(masm, mode, slow); |
__ lw(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); |
__ jmp(&finish_object_store); |
@@ -1495,8 +1495,8 @@ void KeyedStoreIC::GenerateTransitionElementsSmiToDouble(MacroAssembler* masm) { |
// Must return the modified receiver in v0. |
if (!FLAG_trace_elements_transitions) { |
Label fail; |
- AllocationSiteMode mode = AllocationSiteInfo::GetMode(FAST_SMI_ELEMENTS, |
- FAST_DOUBLE_ELEMENTS); |
+ AllocationSiteMode mode = AllocationSite::GetMode(FAST_SMI_ELEMENTS, |
+ FAST_DOUBLE_ELEMENTS); |
ElementsTransitionGenerator::GenerateSmiToDouble(masm, mode, &fail); |
__ Ret(USE_DELAY_SLOT); |
__ mov(v0, a2); |
@@ -1518,8 +1518,8 @@ void KeyedStoreIC::GenerateTransitionElementsDoubleToObject( |
// Must return the modified receiver in v0. |
if (!FLAG_trace_elements_transitions) { |
Label fail; |
- AllocationSiteMode mode = AllocationSiteInfo::GetMode(FAST_DOUBLE_ELEMENTS, |
- FAST_ELEMENTS); |
+ AllocationSiteMode mode = AllocationSite::GetMode(FAST_DOUBLE_ELEMENTS, |
+ FAST_ELEMENTS); |
ElementsTransitionGenerator::GenerateDoubleToObject(masm, mode, &fail); |
__ Ret(USE_DELAY_SLOT); |
__ mov(v0, a2); |