Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 8b0477a983ab429e919ec83135a59f0533bf09f3..ba924109566bfd75bb5bbe3ac0aef93caa67855a 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6641,6 +6641,8 @@ class PrototypeInfo : public Struct { |
// [validity_cell]: Cell containing the validity bit for prototype chains |
// going through this object, or Smi(0) if uninitialized. |
DECL_ACCESSORS(validity_cell, Object) |
+ // [constructor_name]: User-friendly name of the original constructor. |
+ DECL_ACCESSORS(constructor_name, Object) |
DECLARE_CAST(PrototypeInfo) |
@@ -6650,7 +6652,8 @@ class PrototypeInfo : public Struct { |
static const int kPrototypeUsersOffset = HeapObject::kHeaderSize; |
static const int kValidityCellOffset = kPrototypeUsersOffset + kPointerSize; |
- static const int kSize = kValidityCellOffset + kPointerSize; |
+ static const int kConstructorNameOffset = kValidityCellOffset + kPointerSize; |
+ static const int kSize = kConstructorNameOffset + kPointerSize; |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(PrototypeInfo); |