| Index: src/stub-cache.cc
|
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc
|
| index 9ab83beba171359930ae12b95f8539cd32f0b5ce..81f89fd4bc19972ecf686123e2d45cfd15848871 100644
|
| --- a/src/stub-cache.cc
|
| +++ b/src/stub-cache.cc
|
| @@ -1058,6 +1058,19 @@ Object* StubCompiler::GetCodeWithFlags(Code::Flags flags, String* name) {
|
| return GetCodeWithFlags(flags, reinterpret_cast<char*>(NULL));
|
| }
|
|
|
| +void StubCompiler::LookupPostInterceptor(JSObject* holder,
|
| + String* name,
|
| + LookupResult* lookup) {
|
| + holder->LocalLookupRealNamedProperty(name, lookup);
|
| + if (lookup->IsNotFound()) {
|
| + Object* proto = holder->GetPrototype();
|
| + if (proto != Heap::null_value()) {
|
| + proto->Lookup(name, lookup);
|
| + }
|
| + }
|
| +}
|
| +
|
| +
|
|
|
| Object* LoadStubCompiler::GetCode(PropertyType type, String* name) {
|
| Code::Flags flags = Code::ComputeMonomorphicFlags(Code::LOAD_IC, type);
|
|
|