Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index 9e694d24db3bea706c186167eef8af41d6dd56fa..d500abd17cce512b613787bd6acc3cf222837e48 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -3341,32 +3341,6 @@ Handle<Code> KeyedLoadStubCompiler::CompileLoadArrayLength( |
} |
-Handle<Code> KeyedLoadStubCompiler::CompileLoadStringLength( |
- Handle<String> name) { |
- // ----------- S t a t e ------------- |
- // -- ecx : key |
- // -- edx : receiver |
- // -- esp[0] : return address |
- // ----------------------------------- |
- Label miss; |
- |
- Counters* counters = isolate()->counters(); |
- __ IncrementCounter(counters->keyed_load_string_length(), 1); |
- |
- // Check that the name has not changed. |
- __ cmp(ecx, Immediate(name)); |
- __ j(not_equal, &miss); |
- |
- GenerateLoadStringLength(masm(), edx, eax, ebx, &miss, true); |
- __ bind(&miss); |
- __ DecrementCounter(counters->keyed_load_string_length(), 1); |
- GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC); |
- |
- // Return the generated code. |
- return GetCode(Code::CALLBACKS, name); |
-} |
- |
- |
Handle<Code> KeyedLoadStubCompiler::CompileLoadFunctionPrototype( |
Handle<String> name) { |
// ----------- S t a t e ------------- |