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

Unified Diff: src/mark-compact.cc

Issue 12088106: Remove obsolete debug code and add new one. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 7 years, 11 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/mark-compact.h ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/mark-compact.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698