| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index 7df1aae544f6311163976d6d47807ed7b204b776..80773bf14789e8524dc4c46184588641d6396495 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -5786,20 +5786,9 @@ class HObjectAccess V8_FINAL {
|
| ? Representation::Smi() : Representation::Tagged());
|
| }
|
|
|
| - static HObjectAccess ForAllocationSiteTransitionInfo() {
|
| - return HObjectAccess(kInobject, AllocationSite::kTransitionInfoOffset);
|
| - }
|
| -
|
| - static HObjectAccess ForAllocationSiteNestedSite() {
|
| - return HObjectAccess(kInobject, AllocationSite::kNestedSiteOffset);
|
| - }
|
| -
|
| - static HObjectAccess ForAllocationSiteDependentCode() {
|
| - return HObjectAccess(kInobject, AllocationSite::kDependentCodeOffset);
|
| - }
|
| -
|
| - static HObjectAccess ForAllocationSiteWeakNext() {
|
| - return HObjectAccess(kInobject, AllocationSite::kWeakNextOffset);
|
| + static HObjectAccess ForAllocationSiteOffset(int offset) {
|
| + ASSERT(offset >= HeapObject::kHeaderSize && offset < AllocationSite::kSize);
|
| + return HObjectAccess(kInobject, offset);
|
| }
|
|
|
| static HObjectAccess ForAllocationSiteList() {
|
|
|