Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 67f9dc8fd7361ba02a70b469a3d18d6cebf00ec1..785b9ca9ac679facf17147930569c054e5e7cecd 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -491,20 +491,16 @@ HValue* CodeStubGraphBuilder<CreateAllocationSiteStub>::BuildCodeStub() { |
AllocationSite::kNestedSiteOffset), |
graph()->GetConstant0()); |
- // Pretenuring calculation fields. |
+ // Pretenuring calculation field. |
Add<HStoreNamedField>(object, |
HObjectAccess::ForAllocationSiteOffset( |
- AllocationSite::kMementoFoundCountOffset), |
+ AllocationSite::kPretenureDataOffset), |
graph()->GetConstant0()); |
+ // Pretenuring memento creation count field. |
Add<HStoreNamedField>(object, |
HObjectAccess::ForAllocationSiteOffset( |
- AllocationSite::kMementoCreateCountOffset), |
- graph()->GetConstant0()); |
- |
- Add<HStoreNamedField>(object, |
- HObjectAccess::ForAllocationSiteOffset( |
- AllocationSite::kPretenureDecisionOffset), |
+ AllocationSite::kPretenureCreateCountOffset), |
graph()->GetConstant0()); |
// Store an empty fixed array for the code dependency. |