Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 4a177dc0e191bf1f38548ab2f2dd95d6f2adba4f..0e58534e4a2d24e70a3f5e871e8c42bc464f9725 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2195,6 +2195,9 @@ class JSObject: public JSReceiver { |
static bool UnregisterPrototypeUser(Handle<Map> user, Isolate* isolate); |
static void InvalidatePrototypeChains(Map* map); |
+ // Utility used by many Array builtins and runtime functions |
+ static inline bool PrototypeHasNoElements(Isolate* isolate, JSObject* object); |
+ |
// Alternative implementation of WeakFixedArray::NullCallback. |
class PrototypeRegistryCompactionCallback { |
public: |