Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d79f4eaf9776de65242fd6a71c9048262db222d0..9d6c8ee67410dd50447f83e1e7bc5a6e33ea40b0 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2193,6 +2193,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: |