| Index: src/stub-cache.cc
|
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc
|
| index 1f954edfa782250d7060a618d00319aad1915619..ba681ca9f810007f05979beaf20068427de4107a 100644
|
| --- a/src/stub-cache.cc
|
| +++ b/src/stub-cache.cc
|
| @@ -365,23 +365,6 @@ Handle<Code> StubCache::ComputeKeyedLoadArrayLength(Handle<String> name,
|
| }
|
|
|
|
|
| -Handle<Code> StubCache::ComputeKeyedLoadStringLength(Handle<String> name,
|
| - Handle<String> receiver) {
|
| - Code::Flags flags =
|
| - Code::ComputeMonomorphicFlags(Code::KEYED_LOAD_IC, Code::CALLBACKS);
|
| - Handle<Map> map(receiver->map());
|
| - Handle<Object> probe(map->FindInCodeCache(*name, flags), isolate_);
|
| - if (probe->IsCode()) return Handle<Code>::cast(probe);
|
| -
|
| - KeyedLoadStubCompiler compiler(isolate_);
|
| - Handle<Code> code = compiler.CompileLoadStringLength(name);
|
| - PROFILE(isolate_, CodeCreateEvent(Logger::KEYED_LOAD_IC_TAG, *code, *name));
|
| - GDBJIT(AddCode(GDBJITInterface::KEYED_LOAD_IC, *name, *code));
|
| - Map::UpdateCodeCache(map, name, code);
|
| - return code;
|
| -}
|
| -
|
| -
|
| Handle<Code> StubCache::ComputeKeyedLoadFunctionPrototype(
|
| Handle<String> name,
|
| Handle<JSFunction> receiver) {
|
|
|