Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index a9c2439e61bbf077ad484031025d9fff7d03369e..6b71debd4bb7ab60c1af8fac21191475a885e89b 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2210,6 +2210,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: |