| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 66b9b8d21bbf19e01a4800964f4ea76543639f96..067f35782292ae6049066ac0be25ca502329fb5d 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -8353,14 +8353,11 @@ class AllocationSite: public Struct {
|
| static void DigestTransitionFeedback(Handle<AllocationSite> site,
|
| ElementsKind to_kind);
|
|
|
| - enum Reason {
|
| - TENURING,
|
| - TRANSITIONS
|
| - };
|
| + static void RegisterForDeoptOnTenureChange(Handle<AllocationSite> site,
|
| + CompilationInfo* info);
|
|
|
| - static void AddDependentCompilationInfo(Handle<AllocationSite> site,
|
| - Reason reason,
|
| - CompilationInfo* info);
|
| + static void RegisterForDeoptOnTransitionChange(Handle<AllocationSite> site,
|
| + CompilationInfo* info);
|
|
|
| DECLARE_PRINTER(AllocationSite)
|
| DECLARE_VERIFIER(AllocationSite)
|
| @@ -8392,7 +8389,10 @@ class AllocationSite: public Struct {
|
| kSize> BodyDescriptor;
|
|
|
| private:
|
| - inline DependentCode::DependencyGroup ToDependencyGroup(Reason reason);
|
| + static void AddDependentCompilationInfo(Handle<AllocationSite> site,
|
| + DependentCode::DependencyGroup group,
|
| + CompilationInfo* info);
|
| +
|
| bool PretenuringDecisionMade() {
|
| return pretenure_decision() != kUndecided;
|
| }
|
|
|