Index: runtime/vm/gc_sweeper.cc |
diff --git a/runtime/vm/gc_sweeper.cc b/runtime/vm/gc_sweeper.cc |
index 609afb9aa9e9a0f4dcfef893afdbda553b8fe297..738e1b874ef60dde75cc2db6145a31158b222da0 100644 |
--- a/runtime/vm/gc_sweeper.cc |
+++ b/runtime/vm/gc_sweeper.cc |
@@ -16,7 +16,7 @@ |
namespace dart { |
bool GCSweeper::SweepPage(HeapPage* page, FreeList* freelist, bool locked) { |
- if (page->embedder_allocated()) { |
+ if (page->is_image_page()) { |
// Don't clear mark bits. |
return true; |
} |