| Index: src/heap/spaces-inl.h
|
| diff --git a/src/heap/spaces-inl.h b/src/heap/spaces-inl.h
|
| index 3023fbf51ead410fba6a14aaab99dff05e5acf61..648772ddcd5a591ca70bf254f28f1e1a7cf22628 100644
|
| --- a/src/heap/spaces-inl.h
|
| +++ b/src/heap/spaces-inl.h
|
| @@ -216,18 +216,6 @@ bool PagedSpace::Contains(Address addr) {
|
| bool PagedSpace::Contains(HeapObject* o) { return Contains(o->address()); }
|
|
|
|
|
| -void MemoryChunk::set_scan_on_scavenge(bool scan) {
|
| - if (scan) {
|
| - if (!scan_on_scavenge()) heap_->increment_scan_on_scavenge_pages();
|
| - SetFlag(SCAN_ON_SCAVENGE);
|
| - } else {
|
| - if (scan_on_scavenge()) heap_->decrement_scan_on_scavenge_pages();
|
| - ClearFlag(SCAN_ON_SCAVENGE);
|
| - }
|
| - heap_->incremental_marking()->SetOldSpacePageFlags(this);
|
| -}
|
| -
|
| -
|
| MemoryChunk* MemoryChunk::FromAnyPointerAddress(Heap* heap, Address addr) {
|
| MemoryChunk* maybe = reinterpret_cast<MemoryChunk*>(
|
| OffsetFrom(addr) & ~Page::kPageAlignmentMask);
|
|
|