Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 948246f2e41beb1d4f8cab114013707ce436c80a..e517bdd78ac1139b500a6574b2f9a77bc6adfec7 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2420,7 +2420,7 @@ class JSObject: public JSReceiver { |
static void SetIdentityHash(Handle<JSObject> object, Handle<Smi> hash); |
- inline void ValidateElements(); |
+ static inline void ValidateElements(Handle<JSObject> object); |
// Makes sure that this object can contain HeapObject as elements. |
static inline void EnsureCanContainHeapObjectElements(Handle<JSObject> obj); |