Index: src/lookup.h |
diff --git a/src/lookup.h b/src/lookup.h |
index 2f53832b1fa845d2af26a7b68e48063acb3f5bf3..2b76d3c2e3de0593c877f588dcbc8cea45f2311b 100644 |
--- a/src/lookup.h |
+++ b/src/lookup.h |
@@ -209,7 +209,7 @@ class LookupIterator final BASE_EMBEDDED { |
bool ExtendingNonExtensible(Handle<JSObject> receiver) { |
DCHECK(receiver.is_identical_to(GetStoreTarget())); |
return !receiver->map()->is_extensible() && |
- (IsElement() || !isolate_->IsInternallyUsedPropertyName(name_)); |
+ (IsElement() || !name_->IsPrivate()); |
} |
void PrepareForDataProperty(Handle<Object> value); |
void PrepareTransitionToDataProperty(Handle<JSObject> receiver, |