Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: src/objects.h

Issue 1099473004: Reland "Refactor compilation dependency handling." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/lithium.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 722a5424c03dd86386af88cc41f5caf5c2d063b9..f16dc98a13e7ca3a1b6b2a1952c0c062e90a1cb8 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -5696,8 +5696,6 @@ class Code: public HeapObject {
};
-class CompilationInfo;
-
// This class describes the layout of dependent codes array of a map. The
// array is partitioned into several groups of dependent codes. Each group
// contains codes with the same dependency on the map. The array has the
@@ -5767,7 +5765,7 @@ class DependentCode: public FixedArray {
bool Contains(DependencyGroup group, WeakCell* code_cell);
- static Handle<DependentCode> InsertCompilationInfo(
+ static Handle<DependentCode> InsertCompilationDependencies(
Handle<DependentCode> entries, DependencyGroup group,
Handle<Foreign> info);
@@ -5778,8 +5776,8 @@ class DependentCode: public FixedArray {
void UpdateToFinishedCode(DependencyGroup group, Foreign* info,
WeakCell* code_cell);
- void RemoveCompilationInfo(DependentCode::DependencyGroup group,
- Foreign* info);
+ void RemoveCompilationDependencies(DependentCode::DependencyGroup group,
+ Foreign* info);
void DeoptimizeDependentCodeGroup(Isolate* isolate,
DependentCode::DependencyGroup group);
@@ -5797,9 +5795,6 @@ class DependentCode: public FixedArray {
inline void copy(int from, int to);
DECLARE_CAST(DependentCode)
- static DependentCode* ForObject(Handle<HeapObject> object,
- DependencyGroup group);
-
static const char* DependencyGroupName(DependencyGroup group);
static void SetMarkedForDeoptimization(Code* code, DependencyGroup group);
@@ -6357,10 +6352,6 @@ class Map: public HeapObject {
inline bool CanOmitMapChecks();
- static void AddDependentCompilationInfo(Handle<Map> map,
- DependentCode::DependencyGroup group,
- CompilationInfo* info);
-
static void AddDependentCode(Handle<Map> map,
DependentCode::DependencyGroup group,
Handle<Code> code);
@@ -8563,12 +8554,6 @@ class AllocationSite: public Struct {
static void DigestTransitionFeedback(Handle<AllocationSite> site,
ElementsKind to_kind);
- static void RegisterForDeoptOnTenureChange(Handle<AllocationSite> site,
- CompilationInfo* info);
-
- static void RegisterForDeoptOnTransitionChange(Handle<AllocationSite> site,
- CompilationInfo* info);
-
DECLARE_PRINTER(AllocationSite)
DECLARE_VERIFIER(AllocationSite)
@@ -8599,10 +8584,6 @@ class AllocationSite: public Struct {
kSize> BodyDescriptor;
private:
- static void AddDependentCompilationInfo(Handle<AllocationSite> site,
- DependentCode::DependencyGroup group,
- CompilationInfo* info);
-
bool PretenuringDecisionMade() {
return pretenure_decision() != kUndecided;
}
@@ -9835,9 +9816,6 @@ class PropertyCell : public HeapObject {
static Handle<PropertyCell> InvalidateEntry(Handle<NameDictionary> dictionary,
int entry);
- static void AddDependentCompilationInfo(Handle<PropertyCell> cell,
- CompilationInfo* info);
-
DECLARE_CAST(PropertyCell)
// Dispatched behavior.
« no previous file with comments | « src/lithium.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698