5#ifndef INCLUDE_V8_HANDLE_BASE_H_
6#define INCLUDE_V8_HANDLE_BASE_H_
12template <
bool check_statically_enabled>
46#ifdef ENABLE_SLOW_DCHECKS
54
55
56
75 : location_(location) {}
88 template <
typename T,
bool check_null =
false>
93#ifdef V8_ENABLE_DIRECT_HANDLE
107#ifdef V8_ENABLE_DIRECT_HANDLE
110
111
112
140 return reinterpret_cast<
T*>(
ptr_);
V8_INLINE internal::Address ptr() const
V8_INLINE internal::ValueHelper::InternalRepresentationType repr() const
V8_INLINE T * value() const
V8_INLINE bool IsEmpty() const
V8_INLINE IndirectHandleBase()=default
V8_INLINE internal::Address *const & slot() const
V8_INLINE IndirectHandleBase(const IndirectHandleBase &other)=default
V8_INLINE IndirectHandleBase & operator=(const IndirectHandleBase &that)=default
V8_INLINE IndirectHandleBase(internal::Address *location)
V8_INLINE internal::Address *& slot()
V8_INLINE StackAllocated()
V8_INLINE StackAllocated(const StackAllocated &other, no_checking_tag tag)
V8_INLINE StackAllocated(no_checking_tag tag)
V8_INLINE V8_EXPORT void VerifyOnStack() const
V8_INLINE void VerifyOnStack() const
static constexpr no_checking_tag do_not_check
V8_INLINE StackAllocated()=default
V8_INLINE StackAllocated(no_checking_tag)
V8_INLINE StackAllocated(const StackAllocated &other, no_checking_tag)
#define V8_HAS_ATTRIBUTE_TRIVIAL_ABI