Index: src/stub-cache.cc |
=================================================================== |
--- src/stub-cache.cc (revision 3900) |
+++ src/stub-cache.cc (working copy) |
@@ -1070,11 +1070,13 @@ |
return GetCodeWithFlags(flags, reinterpret_cast<char*>(NULL)); |
} |
+ |
void StubCompiler::LookupPostInterceptor(JSObject* holder, |
String* name, |
LookupResult* lookup) { |
holder->LocalLookupRealNamedProperty(name, lookup); |
- if (lookup->IsNotFound()) { |
+ if (!lookup->IsProperty()) { |
+ lookup->NotFound(); |
Object* proto = holder->GetPrototype(); |
if (proto != Heap::null_value()) { |
proto->Lookup(name, lookup); |