Index: src/ic/ia32/ic-ia32.cc |
diff --git a/src/ic/ia32/ic-ia32.cc b/src/ic/ia32/ic-ia32.cc |
index 67247d29ee81d0840dec2ce5471a8b32c8980aac..15cbf462cb7c634e9234812c88e1fef7783af90a 100644 |
--- a/src/ic/ia32/ic-ia32.cc |
+++ b/src/ic/ia32/ic-ia32.cc |
@@ -476,33 +476,6 @@ void KeyedLoadIC::GenerateGeneric(MacroAssembler* masm) { |
} |
-void KeyedLoadIC::GenerateString(MacroAssembler* masm) { |
- // Return address is on the stack. |
- Label miss; |
- |
- Register receiver = LoadDescriptor::ReceiverRegister(); |
- Register index = LoadDescriptor::NameRegister(); |
- Register scratch = ebx; |
- DCHECK(!scratch.is(receiver) && !scratch.is(index)); |
- Register result = eax; |
- DCHECK(!result.is(scratch)); |
- |
- 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(0); |
- |
- StubRuntimeCallHelper call_helper; |
- char_at_generator.GenerateSlow(masm, call_helper); |
- |
- __ bind(&miss); |
- GenerateMiss(masm); |
-} |
- |
- |
void KeyedStoreIC::GenerateSloppyArguments(MacroAssembler* masm) { |
// Return address is on the stack. |
Label slow, notin; |