Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 352edaaa669f7c5325c5f9ae19df4091575d9389..e6ec722cf92a86c535fd3eae9834d6a1fc4cccb4 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -8110,6 +8110,9 @@ class AllocationSite: public Struct { |
// walked in a particular order. So [[1, 2], 1, 2] will have one |
// nested_site, but [[1, 2], 3, [4]] will have a list of two. |
DECL_ACCESSORS(nested_site, Object) |
+ DECL_ACCESSORS(memento_found_count, Smi) |
+ DECL_ACCESSORS(memento_create_count, Smi) |
+ DECL_ACCESSORS(pretenure_decision, Smi) |
DECL_ACCESSORS(dependent_code, DependentCode) |
DECL_ACCESSORS(weak_next, Object) |
@@ -8177,7 +8180,13 @@ class AllocationSite: public Struct { |
static const int kTransitionInfoOffset = HeapObject::kHeaderSize; |
static const int kNestedSiteOffset = kTransitionInfoOffset + kPointerSize; |
- static const int kDependentCodeOffset = kNestedSiteOffset + kPointerSize; |
+ static const int kMementoFoundCountOffset = kNestedSiteOffset + kPointerSize; |
+ static const int kMementoCreateCountOffset = |
+ kMementoFoundCountOffset + kPointerSize; |
+ static const int kPretenureDecisionOffset = |
+ kMementoCreateCountOffset + kPointerSize; |
+ static const int kDependentCodeOffset = |
+ kPretenureDecisionOffset + kPointerSize; |
static const int kWeakNextOffset = kDependentCodeOffset + kPointerSize; |
static const int kSize = kWeakNextOffset + kPointerSize; |