Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index f09d58fc5dc53dc5a3b99abb8fd76e944373f8a9..003fec7033531801a88f7312e580b5529dd6a24e 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -878,6 +878,7 @@ class DictionaryElementsAccessor; |
class ElementsAccessor; |
class Failure; |
class FixedArrayBase; |
+class GlobalObject; |
class ObjectVisitor; |
class StringStream; |
class Type; |
@@ -7412,6 +7413,8 @@ class JSGlobalProxy : public JSObject { |
// Casting. |
static inline JSGlobalProxy* cast(Object* obj); |
+ inline bool IsDetachedFrom(GlobalObject* global); |
+ |
// Dispatched behavior. |
DECLARE_PRINTER(JSGlobalProxy) |
DECLARE_VERIFIER(JSGlobalProxy) |
@@ -7481,6 +7484,8 @@ class JSGlobalObject: public GlobalObject { |
static Handle<PropertyCell> EnsurePropertyCell(Handle<JSGlobalObject> global, |
Handle<Name> name); |
+ inline bool IsDetached(); |
+ |
// Dispatched behavior. |
DECLARE_PRINTER(JSGlobalObject) |
DECLARE_VERIFIER(JSGlobalObject) |