Index: src/objects.cc |
=================================================================== |
--- src/objects.cc (revision 3292) |
+++ src/objects.cc (working copy) |
@@ -6170,7 +6170,18 @@ |
return pt->GetPropertyWithReceiver(receiver, name, attributes); |
} |
+Object* JSObject::GetLocalPropertyPostInterceptor( |
+ JSObject* receiver, |
+ String* name, |
+ PropertyAttributes* attributes) { |
+ // Check local property in holder, ignore interceptor. |
+ LookupResult result; |
+ LocalLookupRealNamedProperty(name, &result); |
+ if (!result.IsValid()) return Heap::undefined_value(); |
+ return GetProperty(receiver, &result, name, attributes); |
+} |
+ |
Object* JSObject::GetPropertyWithInterceptor( |
JSObject* receiver, |
String* name, |