| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 2e8c0ada3877b3633e34c5f4d9732c94868de3c2..a386b821ceeb3532bd553eaba7e43a8ae3d15ab9 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -1314,6 +1314,9 @@ void AllocationSite::Initialize() {
|
| set_transition_info(Smi::FromInt(0));
|
| SetElementsKind(GetInitialFastElementsKind());
|
| set_nested_site(Smi::FromInt(0));
|
| + set_memento_create_count(Smi::FromInt(0));
|
| + set_memento_found_count(Smi::FromInt(0));
|
| + set_pretenure_decision(Smi::FromInt(0));
|
| set_dependent_code(DependentCode::cast(GetHeap()->empty_fixed_array()),
|
| SKIP_WRITE_BARRIER);
|
| }
|
| @@ -4552,6 +4555,10 @@ ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset)
|
|
|
| ACCESSORS(AllocationSite, transition_info, Object, kTransitionInfoOffset)
|
| ACCESSORS(AllocationSite, nested_site, Object, kNestedSiteOffset)
|
| +ACCESSORS_TO_SMI(AllocationSite, memento_found_count, kMementoFoundCountOffset)
|
| +ACCESSORS_TO_SMI(AllocationSite, memento_create_count,
|
| + kMementoCreateCountOffset)
|
| +ACCESSORS_TO_SMI(AllocationSite, pretenure_decision, kPretenureDecisionOffset)
|
| ACCESSORS(AllocationSite, dependent_code, DependentCode,
|
| kDependentCodeOffset)
|
| ACCESSORS(AllocationSite, weak_next, Object, kWeakNextOffset)
|
|
|