Chromium Code Reviews| Index: src/hydrogen-instructions.h |
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
| index 7df1aae544f6311163976d6d47807ed7b204b776..6f0700ead9688e6dd15297181372edc76c6d8181 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 < AllocationSite::kSize); |
|
Hannes Payer (out of office)
2013/10/28 09:13:38
&& offset >= HeapObject::kHeaderSize
mvstanton
2013/10/28 09:36:11
Done.
|
| + return HObjectAccess(kInobject, offset); |
| } |
| static HObjectAccess ForAllocationSiteList() { |