Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index d370e123380ba1d5a3cf2ab23005c94316621976..d24af57770cdede69d25255b297e051a62e7c693 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -4228,8 +4228,8 @@ MaybeHandle<Object> JSObject::SetLocalPropertyIgnoreAttributes( |
name, value, attributes, value_type, mode, extensibility_check); |
} |
- if (lookup.IsFound() && |
- (lookup.type() == INTERCEPTOR || lookup.type() == CALLBACKS)) { |
+ if (lookup.IsInterceptor() || |
+ (lookup.IsDescriptorOrDictionary() && lookup.type() == CALLBACKS)) { |
object->LocalLookupRealNamedProperty(*name, &lookup); |
} |