Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index ea797a5866a63fb26dd46b76baeadb85effeccc6..a0cb679bbd01988c115f10c6a6b53e96bdf434be 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -1061,16 +1061,6 @@ void CodeFlusher::ProcessSharedFunctionInfoCandidates() { |
} |
-bool CodeFlusher::ContainsCandidate(SharedFunctionInfo* shared_info) { |
- SharedFunctionInfo* candidate = shared_function_info_candidates_head_; |
- while (candidate != NULL) { |
- if (candidate == shared_info) return true; |
- candidate = GetNextCandidate(candidate); |
- } |
- return false; |
-} |
- |
- |
void CodeFlusher::EvictCandidate(SharedFunctionInfo* shared_info) { |
// Make sure previous flushing decisions are revisited. |
isolate_->heap()->incremental_marking()->RecordWrites(shared_info); |