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

Unified Diff: src/heap/sequential-marking-deque.h

Issue 2810893002: [heap] Implement simple concurrent marking deque. (Closed)
Patch Set: Fix comment Created 3 years, 8 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/heap/mark-compact.h ('k') | src/v8.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/sequential-marking-deque.h
diff --git a/src/heap/sequential-marking-deque.h b/src/heap/sequential-marking-deque.h
index 89b762f3ce435397360d324f764b85fff1c7806b..86098dd730066fd5c676a85f86cd9c91501fc91f 100644
--- a/src/heap/sequential-marking-deque.h
+++ b/src/heap/sequential-marking-deque.h
@@ -91,15 +91,6 @@ class SequentialMarkingDeque {
}
}
- template <typename Callback>
- void Iterate(Callback callback) {
- int i = bottom_;
- while (i != top_) {
- callback(array_[i]);
- i = (i + 1) & mask_;
- }
- }
-
// Calls the specified callback on each element of the deque and replaces
// the element with the result of the callback. If the callback returns
// nullptr then the element is removed from the deque.
« no previous file with comments | « src/heap/mark-compact.h ('k') | src/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698