Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index bfe162b752121d6fd1480f96f250ee5ef9f4fd2c..38d8224ad13ee8fa157fee7e942e450f5483b064 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -122,7 +122,7 @@ |
// - Symbol |
// - HeapNumber |
// - Cell |
-// - PropertyCell |
+// - PropertyCell |
// - Code |
// - Map |
// - Oddball |
@@ -9724,7 +9724,7 @@ class Cell: public HeapObject { |
}; |
-class PropertyCell: public Cell { |
+class PropertyCell : public HeapObject { |
public: |
// [value]: value of the global property. |
DECL_ACCESSORS(value, Object) |
@@ -9754,6 +9754,7 @@ class PropertyCell: public Cell { |
DECLARE_VERIFIER(PropertyCell) |
// Layout description. |
+ static const int kValueOffset = HeapObject::kHeaderSize; |
static const int kDependentCodeOffset = kValueOffset + kPointerSize; |
static const int kSize = kDependentCodeOffset + kPointerSize; |