Index: runtime/vm/scavenger.h |
diff --git a/runtime/vm/scavenger.h b/runtime/vm/scavenger.h |
index 8fce1a4bb8bace7a5b936922a026c46991a7af8a..798470cf936e968b06c78565721d1ec6a207bedb 100644 |
--- a/runtime/vm/scavenger.h |
+++ b/runtime/vm/scavenger.h |
@@ -22,6 +22,7 @@ namespace dart { |
class Heap; |
class Isolate; |
class JSONObject; |
+class ObjectSet; |
class ScavengerVisitor; |
// Wrapper around VirtualMemory that adds caching and handles the empty case. |
@@ -181,10 +182,7 @@ class Scavenger { |
void VisitObjects(ObjectVisitor* visitor) const; |
void VisitObjectPointers(ObjectPointerVisitor* visitor) const; |
- void StartEndAddress(uword* start, uword* end) const { |
- *start = to_->start(); |
- *end = to_->end(); |
- } |
+ void AddRegionsToObjectSet(ObjectSet* set) const; |
void WriteProtect(bool read_only); |