| Index: src/heap/heap.h
|
| diff --git a/src/heap/heap.h b/src/heap/heap.h
|
| index 416b5535cdfaf4991cfef723bb1a7f11144bcdcc..8d4c1810b5eed0b7e0b60c0f77d756de2e763ae7 100644
|
| --- a/src/heap/heap.h
|
| +++ b/src/heap/heap.h
|
| @@ -672,6 +672,8 @@ class Heap {
|
| // they are in new space.
|
| static bool RootCanBeWrittenAfterInitialization(RootListIndex root_index);
|
|
|
| + static bool IsUnmodifiedHeapObject(Object** p);
|
| +
|
| // Zapping is needed for verify heap, and always done in debug builds.
|
| static inline bool ShouldZapGarbage() {
|
| #ifdef DEBUG
|
| @@ -786,6 +788,9 @@ class Heap {
|
| Object* encountered_weak_collections() const {
|
| return encountered_weak_collections_;
|
| }
|
| + void VisitEncounteredWeakCollections(ObjectVisitor* visitor) {
|
| + visitor->VisitPointer(&encountered_weak_collections_);
|
| + }
|
|
|
| void set_encountered_weak_cells(Object* weak_cell) {
|
| encountered_weak_cells_ = weak_cell;
|
|
|