diff options
Diffstat (limited to 'deps/v8/src/heap/heap-write-barrier.h')
-rw-r--r-- | deps/v8/src/heap/heap-write-barrier.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/src/heap/heap-write-barrier.h b/deps/v8/src/heap/heap-write-barrier.h index b221fae2ed..9e2cf8652a 100644 --- a/deps/v8/src/heap/heap-write-barrier.h +++ b/deps/v8/src/heap/heap-write-barrier.h @@ -65,6 +65,12 @@ class V8_EXPORT_PRIVATE WriteBarrier { static MarkingBarrier* CurrentMarkingBarrier(Heap* heap); +#ifdef ENABLE_SLOW_DCHECKS + template <typename T> + static inline bool IsRequired(HeapObject host, T value); + static bool IsImmortalImmovableHeapObject(HeapObject object); +#endif + private: static inline base::Optional<Heap*> GetHeapIfMarking(HeapObject object); |