| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index ba319d1df1774d0b8d1399bab375e5c2b3f91c62..14eb4dfc7bc82ce58f4025dc12b03fde5f92d389 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -10319,6 +10319,12 @@ class JSArray: public JSObject {
|
| PropertyDescriptor* desc,
|
| ShouldThrow should_throw);
|
|
|
| + // Checks whether the Array has the current realm's Array.prototype as its
|
| + // prototype. This function is best-effort and only gives a conservative
|
| + // approximation, erring on the side of false, in particular with respect
|
| + // to Proxies and objects with a hidden prototype.
|
| + inline bool HasArrayPrototype(Isolate* isolate);
|
| +
|
| DECLARE_CAST(JSArray)
|
|
|
| // Dispatched behavior.
|
|
|