v8 11.3.244 (node 20.3.0)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
RawPointer Class Referencefinal

#include <member-storage.h>

Public Types

using IntegralType = uintptr_t
 

Public Member Functions

V8_INLINE RawPointer ()
 
V8_INLINE RawPointer (const void *ptr)
 
V8_INLINE const void * Load () const
 
V8_INLINE const void * LoadAtomic () const
 
V8_INLINE void Store (const void *ptr)
 
V8_INLINE void StoreAtomic (const void *ptr)
 
V8_INLINE void Clear ()
 
V8_INLINE bool IsCleared () const
 
V8_INLINE bool IsSentinel () const
 
V8_INLINE uintptr_t GetAsInteger () const
 

Static Public Attributes

static constexpr auto kWriteBarrierSlotType
 

Friends

V8_INLINE friend bool operator== (RawPointer a, RawPointer b)
 
V8_INLINE friend bool operator!= (RawPointer a, RawPointer b)
 
V8_INLINE friend bool operator< (RawPointer a, RawPointer b)
 
V8_INLINE friend bool operator<= (RawPointer a, RawPointer b)
 
V8_INLINE friend bool operator> (RawPointer a, RawPointer b)
 
V8_INLINE friend bool operator>= (RawPointer a, RawPointer b)
 

Detailed Description

Definition at line 183 of file member-storage.h.

Member Typedef Documentation

◆ IntegralType

using IntegralType = uintptr_t

Definition at line 185 of file member-storage.h.

Constructor & Destructor Documentation

◆ RawPointer() [1/2]

V8_INLINE RawPointer ( )
inline

Definition at line 189 of file member-storage.h.

◆ RawPointer() [2/2]

V8_INLINE RawPointer ( const void *  ptr)
inlineexplicit

Definition at line 190 of file member-storage.h.

Member Function Documentation

◆ Clear()

V8_INLINE void Clear ( )
inline

Definition at line 204 of file member-storage.h.

◆ GetAsInteger()

V8_INLINE uintptr_t GetAsInteger ( ) const
inline

Definition at line 209 of file member-storage.h.

◆ IsCleared()

V8_INLINE bool IsCleared ( ) const
inline

Definition at line 205 of file member-storage.h.

◆ IsSentinel()

V8_INLINE bool IsSentinel ( ) const
inline

Definition at line 207 of file member-storage.h.

References cppgc::kSentinelPointer.

◆ Load()

V8_INLINE const void * Load ( ) const
inline

◆ LoadAtomic()

V8_INLINE const void * LoadAtomic ( ) const
inline

Definition at line 193 of file member-storage.h.

◆ Store()

V8_INLINE void Store ( const void *  ptr)
inline

Definition at line 198 of file member-storage.h.

◆ StoreAtomic()

V8_INLINE void StoreAtomic ( const void *  ptr)
inline

Definition at line 199 of file member-storage.h.

Friends And Related Symbol Documentation

◆ operator!=

V8_INLINE friend bool operator!= ( RawPointer  a,
RawPointer  b 
)
friend

Definition at line 216 of file member-storage.h.

◆ operator<

V8_INLINE friend bool operator< ( RawPointer  a,
RawPointer  b 
)
friend

Definition at line 219 of file member-storage.h.

◆ operator<=

V8_INLINE friend bool operator<= ( RawPointer  a,
RawPointer  b 
)
friend

Definition at line 222 of file member-storage.h.

◆ operator==

V8_INLINE friend bool operator== ( RawPointer  a,
RawPointer  b 
)
friend

Definition at line 213 of file member-storage.h.

◆ operator>

V8_INLINE friend bool operator> ( RawPointer  a,
RawPointer  b 
)
friend

Definition at line 225 of file member-storage.h.

◆ operator>=

V8_INLINE friend bool operator>= ( RawPointer  a,
RawPointer  b 
)
friend

Definition at line 228 of file member-storage.h.

Field Documentation

◆ kWriteBarrierSlotType

constexpr auto kWriteBarrierSlotType
staticconstexpr

The documentation for this class was generated from the following file: