Index: src/ic/arm/ic-arm.cc |
diff --git a/src/ic/arm/ic-arm.cc b/src/ic/arm/ic-arm.cc |
index 1b6cf72df172456529cbe04eeab81a465e419eb0..ae13161501fd29b6ffa679636fbb8d44660f18b4 100644 |
--- a/src/ic/arm/ic-arm.cc |
+++ b/src/ic/arm/ic-arm.cc |
@@ -369,32 +369,6 @@ static MemOperand GenerateUnmappedArgumentsLookup(MacroAssembler* masm, |
} |
-void KeyedLoadIC::GenerateSloppyArguments(MacroAssembler* masm) { |
- // The return address is in lr. |
- Register receiver = LoadDescriptor::ReceiverRegister(); |
- Register key = LoadDescriptor::NameRegister(); |
- DCHECK(receiver.is(r1)); |
- DCHECK(key.is(r2)); |
- |
- Label slow, notin; |
- MemOperand mapped_location = GenerateMappedArgumentsLookup( |
- masm, receiver, key, r0, r3, r4, ¬in, &slow); |
- __ ldr(r0, mapped_location); |
- __ Ret(); |
- __ bind(¬in); |
- // The unmapped lookup expects that the parameter map is in r0. |
- MemOperand unmapped_location = |
- GenerateUnmappedArgumentsLookup(masm, key, r0, r3, &slow); |
- __ ldr(r0, unmapped_location); |
- __ LoadRoot(r3, Heap::kTheHoleValueRootIndex); |
- __ cmp(r0, r3); |
- __ b(eq, &slow); |
- __ Ret(); |
- __ bind(&slow); |
- GenerateMiss(masm); |
-} |
- |
- |
void KeyedStoreIC::GenerateSloppyArguments(MacroAssembler* masm) { |
Register receiver = StoreDescriptor::ReceiverRegister(); |
Register key = StoreDescriptor::NameRegister(); |