Index: runtime/vm/pages.h |
diff --git a/runtime/vm/pages.h b/runtime/vm/pages.h |
index bd4ab5c5822340b37437b18da0e7784d98f1a592..ff1ca156544cbaaeadc8351b416a82ae0351aa09 100644 |
--- a/runtime/vm/pages.h |
+++ b/runtime/vm/pages.h |
@@ -52,6 +52,8 @@ class HeapPage { |
return type_; |
} |
+ bool embedder_allocated() const { return memory_->embedder_allocated(); } |
+ |
void VisitObjects(ObjectVisitor* visitor) const; |
void VisitObjectPointers(ObjectPointerVisitor* visitor) const; |
@@ -254,6 +256,7 @@ class PageSpace { |
} |
void VisitObjects(ObjectVisitor* visitor) const; |
+ void VisitObjectsNoEmbedderPages(ObjectVisitor* visitor) const; |
void VisitObjectPointers(ObjectPointerVisitor* visitor) const; |
RawObject* FindObject(FindObjectVisitor* visitor, |
@@ -292,7 +295,7 @@ class PageSpace { |
// Note: Code pages are made executable/non-executable when 'read_only' is |
// true/false, respectively. |
- void WriteProtect(bool read_only, bool include_code_pages); |
+ void WriteProtect(bool read_only); |
void WriteProtectCode(bool read_only); |
void AddGCTime(int64_t micros) { |