Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index 9adf3cb6a028b9408de7aa3b1049164eafdadfa4..b118b360fce8ce0fc9002dcef4e2f75926b56b0a 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -1361,11 +1361,8 @@ void StubCompiler::LookupPostInterceptor(Handle<JSObject> holder, |
Handle<String> name, |
LookupResult* lookup) { |
holder->LocalLookupRealNamedProperty(*name, lookup); |
- if (lookup->IsProperty()) return; |
- |
- lookup->NotFound(); |
+ if (lookup->IsFound()) return; |
if (holder->GetPrototype()->IsNull()) return; |
- |
holder->GetPrototype()->Lookup(*name, lookup); |
} |