Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index bdd4785e3e729368ab1c6bf297e48457f9b5c6b4..b47e8d1eb7695fa3214bb026b793ecc71df58856 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -1009,16 +1009,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); |