Index: src/x64/stub-cache-x64.cc |
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc |
index 5259d7f5f75e76c99a735712617c78ae7b93d753..384e5c0077ca1f2054343fddda724700f3230941 100644 |
--- a/src/x64/stub-cache-x64.cc |
+++ b/src/x64/stub-cache-x64.cc |
@@ -3128,32 +3128,6 @@ Handle<Code> KeyedLoadStubCompiler::CompileLoadInterceptor( |
} |
-Handle<Code> KeyedLoadStubCompiler::CompileLoadFunctionPrototype( |
- Handle<String> name) { |
- // ----------- S t a t e ------------- |
- // -- rax : key |
- // -- rdx : receiver |
- // -- rsp[0] : return address |
- // ----------------------------------- |
- Label miss; |
- |
- Counters* counters = isolate()->counters(); |
- __ IncrementCounter(counters->keyed_load_function_prototype(), 1); |
- |
- // Check that the name has not changed. |
- __ Cmp(rax, name); |
- __ j(not_equal, &miss); |
- |
- GenerateLoadFunctionPrototype(masm(), rdx, rcx, rbx, &miss); |
- __ bind(&miss); |
- __ DecrementCounter(counters->keyed_load_function_prototype(), 1); |
- GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC); |
- |
- // Return the generated code. |
- return GetCode(Code::CALLBACKS, name); |
-} |
- |
- |
Handle<Code> KeyedLoadStubCompiler::CompileLoadElement( |
Handle<Map> receiver_map) { |
// ----------- S t a t e ------------- |