Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 8466eed21f85ceb786e9549629dc806d9d383f82..481732b0f4404872b9657205a0cb836d4918740b 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1914,6 +1914,8 @@ class JSReceiver: public HeapObject { |
// function that was used to instantiate the object). |
String* constructor_name(); |
+ Context* GetCreationContext(); |
+ |
MUST_USE_RESULT static inline Maybe<PropertyAttributes> GetPropertyAttributes( |
Handle<JSReceiver> object, Handle<Name> name); |
MUST_USE_RESULT static inline Maybe<PropertyAttributes> |
@@ -2492,8 +2494,6 @@ class JSObject: public JSReceiver { |
static inline int SizeOf(Map* map, HeapObject* object); |
}; |
- Context* GetCreationContext(); |
- |
// Enqueue change record for Object.observe. May cause GC. |
MUST_USE_RESULT static MaybeHandle<Object> EnqueueChangeRecord( |
Handle<JSObject> object, const char* type, Handle<Name> name, |