| 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.
|
|
|