Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 982852ac0bcfc09cf83d4f4178e3fc51e53ab78e..e8dbe221b603e6185845fc9dd6299ca5e0ec37cb 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2685,6 +2685,11 @@ bool Isolate::IsIsConcatSpreadableLookupChainIntact() { |
return !is_is_concat_spreadable_set; |
} |
+bool Isolate::IsIsConcatSpreadableLookupChainIntact(JSReceiver* receiver) { |
+ if (!IsIsConcatSpreadableLookupChainIntact()) return false; |
+ return !receiver->HasProxyInPrototype(this); |
+} |
+ |
void Isolate::UpdateArrayProtectorOnSetElement(Handle<JSObject> object) { |
DisallowHeapAllocation no_gc; |
if (!object->map()->is_prototype_map()) return; |