Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index d1b51e4122285d873c0bfba4392dda78b7e43f0a..236e9087d33838b7ef67c1e8a2e50c0cf9c92844 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -3228,32 +3228,6 @@ Handle<Code> KeyedLoadStubCompiler::CompileLoadArrayLength( |
} |
-Handle<Code> KeyedLoadStubCompiler::CompileLoadStringLength( |
- Handle<String> name) { |
- // ----------- S t a t e ------------- |
- // -- lr : return address |
- // -- r0 : key |
- // -- r1 : receiver |
- // ----------------------------------- |
- Label miss; |
- |
- Counters* counters = masm()->isolate()->counters(); |
- __ IncrementCounter(counters->keyed_load_string_length(), 1, r2, r3); |
- |
- // Check the key is the cached one. |
- __ cmp(r0, Operand(name)); |
- __ b(ne, &miss); |
- |
- GenerateLoadStringLength(masm(), r1, r2, r3, &miss, true); |
- __ bind(&miss); |
- __ DecrementCounter(counters->keyed_load_string_length(), 1, r2, r3); |
- |
- GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC); |
- |
- return GetCode(Code::CALLBACKS, name); |
-} |
- |
- |
Handle<Code> KeyedLoadStubCompiler::CompileLoadFunctionPrototype( |
Handle<String> name) { |
// ----------- S t a t e ------------- |