Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index a0b4982588bc9878745fae97083365995c5f2edf..c03feaadbbaa9884adbb56275ba5e0715e1a3aa5 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2128,8 +2128,6 @@ class JSReceiver: public HeapObject { |
KeyCollectionType type); |
protected: |
- Smi* GenerateIdentityHash(); |
- |
MUST_USE_RESULT static MaybeHandle<Object> SetPropertyWithDefinedSetter( |
Handle<JSReceiver> object, |
Handle<JSReceiver> setter, |
@@ -7854,6 +7852,9 @@ class JSGlobalProxy : public JSObject { |
// It is null value if this object is not used by any context. |
DECL_ACCESSORS(native_context, Object) |
+ // [hash]: The hash code property (undefined if not initialized yet). |
+ DECL_ACCESSORS(hash, Object) |
+ |
// Casting. |
static inline JSGlobalProxy* cast(Object* obj); |
@@ -7865,7 +7866,8 @@ class JSGlobalProxy : public JSObject { |
// Layout description. |
static const int kNativeContextOffset = JSObject::kHeaderSize; |
- static const int kSize = kNativeContextOffset + kPointerSize; |
+ static const int kHashOffset = kNativeContextOffset + kPointerSize; |
+ static const int kSize = kHashOffset + kPointerSize; |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSGlobalProxy); |