Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index fa1c820bf5cfb8daa2519cc3b3f217ef7887f104..08954ba618ae7ef761a9e9a8df1fc8289fb9b9d9 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -348,24 +348,6 @@ Handle<Code> StubCache::ComputeKeyedLoadCallback( |
} |
-Handle<Code> StubCache::ComputeKeyedLoadFunctionPrototype( |
- Handle<String> name, |
- Handle<JSFunction> receiver) { |
- Code::Flags flags = |
- Code::ComputeMonomorphicFlags(Code::KEYED_LOAD_IC, Code::CALLBACKS); |
- Handle<Object> probe(receiver->map()->FindInCodeCache(*name, flags), |
- isolate_); |
- if (probe->IsCode()) return Handle<Code>::cast(probe); |
- |
- KeyedLoadStubCompiler compiler(isolate_); |
- Handle<Code> code = compiler.CompileLoadFunctionPrototype(name); |
- PROFILE(isolate_, CodeCreateEvent(Logger::KEYED_LOAD_IC_TAG, *code, *name)); |
- GDBJIT(AddCode(GDBJITInterface::KEYED_LOAD_IC, *name, *code)); |
- JSObject::UpdateMapCodeCache(receiver, name, code); |
- return code; |
-} |
- |
- |
Handle<Code> StubCache::ComputeStoreField(Handle<String> name, |
Handle<JSObject> receiver, |
int field_index, |