Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index ef8416ae4382dc27e20774b04232e8f2af4ce28d..5fa64cb2479700fed25078598cd3cba53f39587c 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7643,6 +7643,9 @@ class GlobalObject: public JSObject { |
static void InvalidatePropertyCell(Handle<GlobalObject> object, |
Handle<Name> name); |
+ // Ensure that the global object has a cell for the given property name. |
+ static Handle<PropertyCell> EnsurePropertyCell(Handle<GlobalObject> global, |
+ Handle<Name> name); |
// Layout description. |
static const int kBuiltinsOffset = JSObject::kHeaderSize; |
@@ -7660,10 +7663,6 @@ class JSGlobalObject: public GlobalObject { |
public: |
DECLARE_CAST(JSGlobalObject) |
- // Ensure that the global object has a cell for the given property name. |
- static Handle<PropertyCell> EnsurePropertyCell(Handle<JSGlobalObject> global, |
- Handle<Name> name); |
- |
inline bool IsDetached(); |
// Dispatched behavior. |