v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::FullMaybeObjectSlot Class Reference

#include <slots.h>

Inheritance diagram for v8::internal::FullMaybeObjectSlot:
Collaboration diagram for v8::internal::FullMaybeObjectSlot:

Public Types

using TObject = Tagged<MaybeObject>
 
using THeapObjectSlot = FullHeapObjectSlot
 
- Public Types inherited from v8::internal::SlotBase< FullMaybeObjectSlot, Address, kSystemPointerSize >
using TData
 

Public Member Functions

 FullMaybeObjectSlot ()
 
 FullMaybeObjectSlot (Address ptr)
 
 FullMaybeObjectSlot (TaggedBase *ptr)
 
 FullMaybeObjectSlot (Tagged< MaybeObject > *ptr)
 
template<typename T >
 FullMaybeObjectSlot (SlotBase< T, TData, kSlotDataAlignment > slot)
 
Tagged< MaybeObjectoperator* () const
 
Tagged< MaybeObjectload () const
 
Tagged< MaybeObjectload (PtrComprCageBase cage_base) const
 
void store (Tagged< MaybeObject > value) const
 
Tagged< MaybeObjectRelaxed_Load () const
 
Tagged< MaybeObjectRelaxed_Load (PtrComprCageBase cage_base) const
 
Address Relaxed_Load_Raw () const
 
void Relaxed_Store (Tagged< MaybeObject > value) const
 
void Release_CompareAndSwap (Tagged< MaybeObject > old, Tagged< MaybeObject > target) const
 
- Public Member Functions inherited from v8::internal::SlotBase< FullMaybeObjectSlot, Address, kSystemPointerSize >
FullMaybeObjectSlotoperator++ ()
 
FullMaybeObjectSlot operator++ (int)
 
FullMaybeObjectSlotoperator-- ()
 
FullMaybeObjectSlot operator-- (int)
 
bool operator< (const SlotBase &other) const
 
bool operator<= (const SlotBase &other) const
 
bool operator> (const SlotBase &other) const
 
bool operator>= (const SlotBase &other) const
 
bool operator== (const SlotBase &other) const
 
bool operator!= (const SlotBase &other) const
 
size_t operator- (const SlotBase &other) const
 
FullMaybeObjectSlot operator- (int i) const
 
FullMaybeObjectSlot operator- (int i)
 
FullMaybeObjectSlot operator+ (int i) const
 
FullMaybeObjectSlotoperator+= (int i)
 
FullMaybeObjectSlotoperator-= (int i)
 
void * ToVoidPtr () const
 
Address address () const
 
TDatalocation () const
 

Static Public Member Functions

static Tagged< ObjectRawToTagged (PtrComprCageBase cage_base, Address raw)
 

Static Public Attributes

static constexpr bool kCanBeWeak = true
 
- Static Public Attributes inherited from v8::internal::SlotBase< FullMaybeObjectSlot, Address, kSystemPointerSize >
static constexpr size_t kSlotDataSize
 
static constexpr size_t kSlotDataAlignment
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::SlotBase< FullMaybeObjectSlot, Address, kSystemPointerSize >
 SlotBase (Address ptr)
 

Detailed Description

Definition at line 152 of file slots.h.

Member Typedef Documentation

◆ THeapObjectSlot

◆ TObject

Constructor & Destructor Documentation

◆ FullMaybeObjectSlot() [1/5]

v8::internal::FullMaybeObjectSlot::FullMaybeObjectSlot ( )
inline

Definition at line 161 of file slots.h.

◆ FullMaybeObjectSlot() [2/5]

v8::internal::FullMaybeObjectSlot::FullMaybeObjectSlot ( Address ptr)
inlineexplicit

Definition at line 162 of file slots.h.

◆ FullMaybeObjectSlot() [3/5]

v8::internal::FullMaybeObjectSlot::FullMaybeObjectSlot ( TaggedBase * ptr)
inlineexplicit

Definition at line 163 of file slots.h.

◆ FullMaybeObjectSlot() [4/5]

v8::internal::FullMaybeObjectSlot::FullMaybeObjectSlot ( Tagged< MaybeObject > * ptr)
inlineexplicit

Definition at line 170 of file slots.h.

◆ FullMaybeObjectSlot() [5/5]

template<typename T >
v8::internal::FullMaybeObjectSlot::FullMaybeObjectSlot ( SlotBase< T, TData, kSlotDataAlignment > slot)
inlineexplicit

Definition at line 173 of file slots.h.

Member Function Documentation

◆ load() [1/2]

Tagged< MaybeObject > v8::internal::FullMaybeObjectSlot::load ( ) const
inline

Definition at line 130 of file slots-inl.h.

Here is the caller graph for this function:

◆ load() [2/2]

Tagged< MaybeObject > v8::internal::FullMaybeObjectSlot::load ( PtrComprCageBase cage_base) const
inline

Definition at line 132 of file slots-inl.h.

◆ operator*()

Tagged< MaybeObject > v8::internal::FullMaybeObjectSlot::operator* ( ) const
inline

Definition at line 126 of file slots-inl.h.

Here is the call graph for this function:

◆ RawToTagged()

Tagged< Object > v8::internal::FullMaybeObjectSlot::RawToTagged ( PtrComprCageBase cage_base,
Address raw )
inlinestatic

Definition at line 155 of file slots-inl.h.

◆ Relaxed_Load() [1/2]

Tagged< MaybeObject > v8::internal::FullMaybeObjectSlot::Relaxed_Load ( ) const
inline

Definition at line 141 of file slots-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Relaxed_Load() [2/2]

Tagged< MaybeObject > v8::internal::FullMaybeObjectSlot::Relaxed_Load ( PtrComprCageBase cage_base) const
inline

Definition at line 145 of file slots-inl.h.

Here is the call graph for this function:

◆ Relaxed_Load_Raw()

Address v8::internal::FullMaybeObjectSlot::Relaxed_Load_Raw ( ) const
inline

Definition at line 150 of file slots-inl.h.

Here is the call graph for this function:

◆ Relaxed_Store()

void v8::internal::FullMaybeObjectSlot::Relaxed_Store ( Tagged< MaybeObject > value) const
inline

Definition at line 160 of file slots-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Release_CompareAndSwap()

void v8::internal::FullMaybeObjectSlot::Release_CompareAndSwap ( Tagged< MaybeObject > old,
Tagged< MaybeObject > target ) const
inline

Definition at line 164 of file slots-inl.h.

Here is the call graph for this function:

◆ store()

void v8::internal::FullMaybeObjectSlot::store ( Tagged< MaybeObject > value) const
inline

Definition at line 137 of file slots-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ kCanBeWeak

bool v8::internal::FullMaybeObjectSlot::kCanBeWeak = true
staticconstexpr

Definition at line 159 of file slots.h.


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