Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 783384d45285f3e5325038a34ea6d3705e45042e..e60444a7c3e6437882282b80e0e455563cf9a0f6 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. |