Index: src/mark-compact.h |
diff --git a/src/mark-compact.h b/src/mark-compact.h |
index 8b1620eb21baf51c5a0f78756dc807ad5b84a21d..642839d254afcd1f90fff74d482dfaa3216d459c 100644 |
--- a/src/mark-compact.h |
+++ b/src/mark-compact.h |
@@ -441,11 +441,18 @@ class CodeFlusher { |
ProcessJSFunctionCandidates(); |
} |
+ void EvictAllCandidates() { |
+ EvictJSFunctionCandidates(); |
+ EvictSharedFunctionInfoCandidates(); |
+ } |
+ |
void IteratePointersToFromSpace(ObjectVisitor* v); |
private: |
void ProcessJSFunctionCandidates(); |
void ProcessSharedFunctionInfoCandidates(); |
+ void EvictJSFunctionCandidates(); |
+ void EvictSharedFunctionInfoCandidates(); |
static JSFunction** GetNextCandidateSlot(JSFunction* candidate) { |
return reinterpret_cast<JSFunction**>( |