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

#include <slots-atomic-inl.h>

Inheritance diagram for v8::internal::AtomicSlot:
Collaboration diagram for v8::internal::AtomicSlot:

Classes

class  Reference
 

Public Types

using difference_type = int
 
using value_type = Tagged_t
 
using reference = Reference
 
using pointer = void*
 
using iterator_category = std::random_access_iterator_tag
 
- Public Types inherited from v8::internal::SlotBase< AtomicSlot, Tagged_t >
using TData
 

Public Member Functions

 AtomicSlot ()
 
 AtomicSlot (Address address)
 
 AtomicSlot (ObjectSlot slot)
 
 AtomicSlot (MaybeObjectSlot slot)
 
Reference operator* () const
 
Reference operator[] (difference_type i) const
 
- Public Member Functions inherited from v8::internal::SlotBase< AtomicSlot, Tagged_t >
AtomicSlotoperator++ ()
 
AtomicSlot operator++ (int)
 
AtomicSlotoperator-- ()
 
AtomicSlot 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
 
AtomicSlot operator- (int i) const
 
AtomicSlot operator- (int i)
 
AtomicSlot operator+ (int i) const
 
AtomicSlotoperator+= (int i)
 
AtomicSlotoperator-= (int i)
 
void * ToVoidPtr () const
 
Address address () const
 
TDatalocation () const
 

Friends

void swap (Reference lhs, Reference rhs)
 
difference_type operator- (AtomicSlot a, AtomicSlot b)
 

Additional Inherited Members

- Static Public Attributes inherited from v8::internal::SlotBase< AtomicSlot, Tagged_t >
static constexpr size_t kSlotDataSize
 
static constexpr size_t kSlotDataAlignment
 
- Protected Member Functions inherited from v8::internal::SlotBase< AtomicSlot, Tagged_t >
 SlotBase (Address ptr)
 

Detailed Description

Definition at line 29 of file slots-atomic-inl.h.

Member Typedef Documentation

◆ difference_type

Definition at line 74 of file slots-atomic-inl.h.

◆ iterator_category

using v8::internal::AtomicSlot::iterator_category = std::random_access_iterator_tag

Definition at line 78 of file slots-atomic-inl.h.

◆ pointer

Definition at line 77 of file slots-atomic-inl.h.

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ AtomicSlot() [1/4]

v8::internal::AtomicSlot::AtomicSlot ( )
inline

Definition at line 80 of file slots-atomic-inl.h.

◆ AtomicSlot() [2/4]

v8::internal::AtomicSlot::AtomicSlot ( Address address)
inlineexplicit

Definition at line 81 of file slots-atomic-inl.h.

◆ AtomicSlot() [3/4]

v8::internal::AtomicSlot::AtomicSlot ( ObjectSlot slot)
inlineexplicit

Definition at line 82 of file slots-atomic-inl.h.

◆ AtomicSlot() [4/4]

v8::internal::AtomicSlot::AtomicSlot ( MaybeObjectSlot slot)
inlineexplicit

Definition at line 83 of file slots-atomic-inl.h.

Member Function Documentation

◆ operator*()

Reference v8::internal::AtomicSlot::operator* ( ) const
inline

Definition at line 85 of file slots-atomic-inl.h.

Here is the call graph for this function:

◆ operator[]()

Reference v8::internal::AtomicSlot::operator[] ( difference_type i) const
inline

Definition at line 88 of file slots-atomic-inl.h.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ operator-

difference_type operator- ( AtomicSlot a,
AtomicSlot b )
friend

Definition at line 94 of file slots-atomic-inl.h.

◆ swap

void swap ( Reference lhs,
Reference rhs )
friend

Definition at line 92 of file slots-atomic-inl.h.


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