| Index: test/cctest/heap/test-compaction.cc
|
| diff --git a/test/cctest/heap/test-compaction.cc b/test/cctest/heap/test-compaction.cc
|
| index 064e5a82c0e919f867ce01666a1bb47067bbba71..0feee5fc46599330b56f12070268a3fdc2cbf016 100644
|
| --- a/test/cctest/heap/test-compaction.cc
|
| +++ b/test/cctest/heap/test-compaction.cc
|
| @@ -35,7 +35,7 @@ HEAP_TEST(CompactionFullAbortedPage) {
|
| HandleScope scope1(isolate);
|
| PageIterator it(heap->old_space());
|
| while (it.has_next()) {
|
| - it.next()->SetFlag(Page::NEVER_ALLOCATE_ON_PAGE);
|
| + it.next()->MarkNeverAllocateForTesting();
|
| }
|
|
|
| {
|
| @@ -80,7 +80,7 @@ HEAP_TEST(CompactionPartiallyAbortedPage) {
|
| HandleScope scope1(isolate);
|
| PageIterator it(heap->old_space());
|
| while (it.has_next()) {
|
| - it.next()->SetFlag(Page::NEVER_ALLOCATE_ON_PAGE);
|
| + it.next()->MarkNeverAllocateForTesting();
|
| }
|
|
|
| {
|
| @@ -155,7 +155,7 @@ HEAP_TEST(CompactionPartiallyAbortedPageIntraAbortedPointers) {
|
|
|
| PageIterator it(heap->old_space());
|
| while (it.has_next()) {
|
| - it.next()->SetFlag(Page::NEVER_ALLOCATE_ON_PAGE);
|
| + it.next()->MarkNeverAllocateForTesting();
|
| }
|
|
|
| Page* to_be_aborted_page = nullptr;
|
| @@ -241,7 +241,7 @@ HEAP_TEST(CompactionPartiallyAbortedPageWithStoreBufferEntries) {
|
| isolate->factory()->NewFixedArray(10, TENURED);
|
| PageIterator it(heap->old_space());
|
| while (it.has_next()) {
|
| - it.next()->SetFlag(Page::NEVER_ALLOCATE_ON_PAGE);
|
| + it.next()->MarkNeverAllocateForTesting();
|
| }
|
|
|
| Page* to_be_aborted_page = nullptr;
|
|
|