5#ifndef V8_OBJECTS_CASTING_INL_H_
6#define V8_OBJECTS_CASTING_INL_H_
25 if ((
heap->gc_state() == Heap::SCAVENGE) &&
31 MapWord map_word = heap_object->map_word(
33 if ((
heap->gc_state() == Heap::SCAVENGE) &&
35 (
v8_flags.scavenger_conservative_object_pinning ||
36 v8_flags.scavenger_precise_object_pinning) &&
37 map_word.IsForwardingAddress() &&
43 if (
heap->IsInGC() && map_word.IsForwardingAddress() &&
44 Is<T>(map_word.ToForwardingAddress(heap_object))) {
static V8_INLINE bool InYoungGeneration(Tagged< Object > object)
static bool IsSelfForwarded(Tagged< HeapObject > object)
static V8_INLINE MemoryChunk * FromHeapObject(Tagged< HeapObject > object)
bool Is(IndirectHandle< U > value)
kInterpreterTrampolineOffset Tagged< HeapObject >
Handle< To > UncheckedCast(Handle< From > value)
V8_EXPORT_PRIVATE FlagValues v8_flags
static constexpr RelaxedLoadTag kRelaxedLoad