v8 12.4.254 (node 22.4.1)
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 191 of file member-storage.h.

Member Typedef Documentation

◆ IntegralType

using IntegralType = uintptr_t

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

Constructor & Destructor Documentation

◆ RawPointer() [1/2]

V8_INLINE RawPointer ( )
inline

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

◆ RawPointer() [2/2]

V8_INLINE RawPointer ( const void *  ptr)
inlineexplicit

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

Member Function Documentation

◆ Clear()

V8_INLINE void Clear ( )
inline

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

◆ GetAsInteger()

V8_INLINE uintptr_t GetAsInteger ( ) const
inline

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

◆ IsCleared()

V8_INLINE bool IsCleared ( ) const
inline

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

◆ IsSentinel()

V8_INLINE bool IsSentinel ( ) const
inline

Definition at line 215 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 201 of file member-storage.h.

Referenced by Visitor::VisitMultipleUncompressedMember().

◆ Store()

V8_INLINE void Store ( const void *  ptr)
inline

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

◆ StoreAtomic()

V8_INLINE void StoreAtomic ( const void *  ptr)
inline

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

Friends And Related Symbol Documentation

◆ operator!=

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

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

◆ operator<

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

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

◆ operator<=

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

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

◆ operator==

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

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

◆ operator>

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

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

◆ operator>=

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

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

Field Documentation

◆ kWriteBarrierSlotType

constexpr auto kWriteBarrierSlotType
staticconstexpr

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