5#ifndef V8_OBJECTS_FREE_SPACE_INL_H_
6#define V8_OBJECTS_FREE_SPACE_INL_H_
22#include "torque-generated/src/objects/free-space-tq-inl.inc"
31 writable_free_space.WriteHeaderSlot<
Smi, kSizeOffset>(
Smi::FromInt(size),
39#ifdef V8_EXTERNAL_CODE_SPACE
40 intptr_t diff_to_next =
42 if (diff_to_next == 0) {
57#ifdef V8_EXTERNAL_CODE_SPACE
63 intptr_t diff_to_next =
next.ptr() - ptr();
void SetNext(const WritableFreeSpace &writable_free_space, Tagged< FreeSpace > next)
Tagged< FreeSpace > next() const
static constexpr Tagged< Smi > FromInt(int value)
static constexpr Tagged< Smi > FromIntptr(intptr_t value)
static constexpr Tagged< Smi > zero()
static PtrType load(Tagged< HeapObject > host, int offset=0)
V8_INLINE void WriteHeaderSlot(Tagged< T > value, RelaxedStoreTag) const
constexpr intptr_t kObjectAlignment
Handle< To > UncheckedCast(Handle< From > value)
static constexpr RelaxedLoadTag kRelaxedLoad
static constexpr RelaxedStoreTag kRelaxedStore
#define TQ_OBJECT_CONSTRUCTORS_IMPL(Type)
#define RELAXED_SMI_ACCESSORS(holder, name, offset)
#define DCHECK(condition)
constexpr bool IsAligned(T value, U alignment)