Index: src/ic/mips/ic-mips.cc |
diff --git a/src/ic/mips/ic-mips.cc b/src/ic/mips/ic-mips.cc |
index d97a6ba066e24a64c63fe23e45c8039e68825ea3..1e8a2bd21d594d4c6fd08aea11d5c6e7aa9c345d 100644 |
--- a/src/ic/mips/ic-mips.cc |
+++ b/src/ic/mips/ic-mips.cc |
@@ -594,32 +594,6 @@ void KeyedLoadIC::GenerateGeneric(MacroAssembler* masm) { |
} |
-void KeyedLoadIC::GenerateString(MacroAssembler* masm) { |
- // Return address is in ra. |
- Label miss; |
- |
- Register receiver = LoadDescriptor::ReceiverRegister(); |
- Register index = LoadDescriptor::NameRegister(); |
- Register scratch = a3; |
- Register result = v0; |
- DCHECK(!scratch.is(receiver) && !scratch.is(index)); |
- |
- StringCharAtGenerator char_at_generator(receiver, index, scratch, result, |
- &miss, // When not a string. |
- &miss, // When not a number. |
- &miss, // When index out of range. |
- STRING_INDEX_IS_ARRAY_INDEX); |
- char_at_generator.GenerateFast(masm); |
- __ Ret(); |
- |
- StubRuntimeCallHelper call_helper; |
- char_at_generator.GenerateSlow(masm, call_helper); |
- |
- __ bind(&miss); |
- GenerateMiss(masm); |
-} |
- |
- |
static void KeyedStoreGenerateGenericHelper( |
MacroAssembler* masm, Label* fast_object, Label* fast_double, Label* slow, |
KeyedStoreCheckMap check_map, KeyedStoreIncrementLength increment_length, |