 Chromium Code Reviews
 Chromium Code Reviews Issue 43603002:
  Pretenuring calculation fields in AllocationSite.  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
    
  
    Issue 43603002:
  Pretenuring calculation fields in AllocationSite.  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge| 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); | 
| + return HObjectAccess(kInobject, offset); | 
| 
Hannes Payer (out of office)
2013/10/28 10:46:54
This was part of a different CL... can you merge?
 | 
| } | 
| static HObjectAccess ForAllocationSiteList() { |