Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 7ea2bdbd6c6476875c44cd46118f749c8f841b74..2f13e96a26ff7cc5bd1f809229899d666e6fbb39 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2208,6 +2208,12 @@ class JSObject: public JSReceiver { |
static inline int SizeOf(Map* map, HeapObject* object); |
}; |
+ // Enqueue change record for Object.observe. May cause GC. |
+ static void EnqueueChangeRecord(Handle<JSObject> object, |
+ const char* type, |
+ Handle<String> name, |
+ Handle<Object> old_value); |
+ |
// Deliver change records to observers. May cause GC. |
static void DeliverChangeRecords(Isolate* isolate); |
@@ -2316,11 +2322,6 @@ class JSObject: public JSReceiver { |
MUST_USE_RESULT MaybeObject* SetHiddenPropertiesHashTable( |
Object* value); |
- // Enqueue change record for Object.observe. May cause GC. |
- void EnqueueChangeRecord(const char* type, |
- Handle<String> name, |
- Handle<Object> old_value); |
- |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSObject); |
}; |