#ifndef V8_SANDBOX_CPPHEAP_POINTER_INL_H_
#define V8_SANDBOX_CPPHEAP_POINTER_INL_H_
#include "include/v8-internal.h"
#include "src/base/atomic-utils.h"
#include "src/objects/slots-inl.h"
#include "src/sandbox/cppheap-pointer-table-inl.h"
#include "src/sandbox/isolate-inl.h"
#include "src/sandbox/isolate.h"
namespace v8 {
namespace internal {
template <CppHeapPointerTag lower_bound, CppHeapPointerTag upper_bound>
V8_INLINE Address ReadCppHeapPointerField(
Address field_address, IsolateForPointerCompression isolate) { … }
V8_INLINE Address ReadCppHeapPointerField(Address field_address,
IsolateForPointerCompression isolate,
CppHeapPointerTagRange tag_range) { … }
template <CppHeapPointerTag tag>
V8_INLINE void WriteLazilyInitializedCppHeapPointerField(
Address field_address, IsolateForPointerCompression isolate,
Address value) { … }
V8_INLINE void WriteLazilyInitializedCppHeapPointerField(
Address field_address, IsolateForPointerCompression isolate, Address value,
CppHeapPointerTag tag) { … }
}
}
#endif