Index: src/mark-compact.h |
diff --git a/src/mark-compact.h b/src/mark-compact.h |
index 4474864feb85808970fbed1979ec90be8d36e28a..aea5e1cf66249267d9afa35a868a193e930fa50e 100644 |
--- a/src/mark-compact.h |
+++ b/src/mark-compact.h |
@@ -637,7 +637,7 @@ class MarkCompactCollector { |
void VerifyMarkbitsAreClean(); |
static void VerifyMarkbitsAreClean(PagedSpace* space); |
static void VerifyMarkbitsAreClean(NewSpace* space); |
- void VerifyWeakEmbeddedMapsInOptimizedCode(); |
+ void VerifyWeakEmbeddedObjectsInOptimizedCode(); |
void VerifyOmittedMapChecks(); |
#endif |
@@ -735,6 +735,10 @@ class MarkCompactCollector { |
return sequential_sweeping_; |
} |
+ // Mark the global table which maps weak objects to dependent code without |
+ // marking its contents. |
+ void MarkWeakObjectToCodeTable(); |
+ |
private: |
MarkCompactCollector(); |
~MarkCompactCollector(); |
@@ -884,7 +888,7 @@ class MarkCompactCollector { |
void ClearNonLivePrototypeTransitions(Map* map); |
void ClearNonLiveMapTransitions(Map* map, MarkBit map_mark); |
- void ClearAndDeoptimizeDependentCode(Map* map); |
+ void ClearAndDeoptimizeDependentCode(DependentCode* dependent_code); |
void ClearNonLiveDependentCode(DependentCode* dependent_code); |
// Marking detaches initial maps from SharedFunctionInfo objects |