[heap] Remove unused Sweeper::AddSweepingPageSafe.

BUG=v8:6474

Change-Id: I820ed47f18a41a1e281a78f1754f483a81627de8
Reviewed-on: https://chromium-review.googlesource.com/528104
Reviewed-by: Hannes Payer <hpayer@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45854}
This commit is contained in:
Ulan Degenbaev 2017-06-09 13:13:36 +02:00 committed by Commit Bot
parent 9a71683d9c
commit 7b3a211e9d
2 changed files with 0 additions and 7 deletions

View File

@ -4684,12 +4684,6 @@ Page* MarkCompactCollector::Sweeper::GetSweepingPageSafe(
return page;
}
void MarkCompactCollector::Sweeper::AddSweepingPageSafe(AllocationSpace space,
Page* page) {
base::LockGuard<base::Mutex> guard(&mutex_);
sweeping_list_[space].push_back(page);
}
void MarkCompactCollector::StartSweepSpace(PagedSpace* space) {
space->ClearStats();

View File

@ -414,7 +414,6 @@ class MarkCompactCollector final : public MarkCompactCollectorBase {
}
Page* GetSweepingPageSafe(AllocationSpace space);
void AddSweepingPageSafe(AllocationSpace space, Page* page);
void PrepareToBeSweptPage(AllocationSpace space, Page* page);