Index: src/heap/scavenger.h |
diff --git a/src/heap/scavenger.h b/src/heap/scavenger.h |
index 5d0abf49d38502ce752c25a330c5c66fbf0fb693..54fe6ffdf92f50b4a017bd4216b0005011b542a6 100644 |
--- a/src/heap/scavenger.h |
+++ b/src/heap/scavenger.h |
@@ -6,6 +6,7 @@ |
#define V8_HEAP_SCAVENGER_H_ |
#include "src/heap/objects-visiting.h" |
+#include "src/heap/slot-set.h" |
namespace v8 { |
namespace internal { |
@@ -25,6 +26,8 @@ class Scavenger { |
// ensure the precondition that the object is (a) a heap object and (b) in |
// the heap's from space. |
static inline void ScavengeObject(HeapObject** p, HeapObject* object); |
+ static inline SlotCallbackResult CheckAndScavengeObject(Heap* heap, |
+ Address slot_address); |
// Slow part of {ScavengeObject} above. |
static void ScavengeObjectSlow(HeapObject** p, HeapObject* object); |