![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <tagged-impl.h>
Public Member Functions | |
V8_INLINE constexpr | TaggedImpl () |
V8_INLINE constexpr | TaggedImpl (StorageType ptr) |
operator bool () const =delete | |
template<HeapObjectReferenceType kOtherRefType, typename U > | |
constexpr bool | operator== (TaggedImpl< kOtherRefType, U > other) const |
template<HeapObjectReferenceType kOtherRefType, typename U > | |
constexpr bool | operator!= (TaggedImpl< kOtherRefType, U > other) const |
template<HeapObjectReferenceType kOtherRefType> | |
constexpr bool | SafeEquals (TaggedImpl< kOtherRefType, StorageType > other) const |
constexpr bool | operator< (TaggedImpl other) const |
V8_INLINE constexpr StorageType | ptr () const |
constexpr bool | IsObject () const |
constexpr bool | IsSmi () const |
bool | ToSmi (Tagged< Smi > *value) const |
Tagged< Smi > | ToSmi () const |
constexpr bool | IsHeapObject () const |
constexpr bool | IsCleared () const |
constexpr bool | IsStrongOrWeak () const |
constexpr bool | IsStrong () const |
constexpr bool | IsStrongOrSmi () const |
constexpr bool | IsWeak () const |
constexpr bool | IsWeakOrCleared () const |
bool | GetHeapObjectIfStrong (Tagged< HeapObject > *result) const |
bool | GetHeapObjectIfStrong (Isolate *isolate, Tagged< HeapObject > *result) const |
Tagged< HeapObject > | GetHeapObjectAssumeStrong () const |
Tagged< HeapObject > | GetHeapObjectAssumeStrong (Isolate *isolate) const |
bool | GetHeapObjectIfWeak (Tagged< HeapObject > *result) const |
bool | GetHeapObjectIfWeak (Isolate *isolate, Tagged< HeapObject > *result) const |
Tagged< HeapObject > | GetHeapObjectAssumeWeak () const |
Tagged< HeapObject > | GetHeapObjectAssumeWeak (Isolate *isolate) const |
bool | GetHeapObject (Tagged< HeapObject > *result) const |
bool | GetHeapObject (Isolate *isolate, Tagged< HeapObject > *result) const |
bool | GetHeapObject (Tagged< HeapObject > *result, HeapObjectReferenceType *reference_type) const |
bool | GetHeapObject (Isolate *isolate, Tagged< HeapObject > *result, HeapObjectReferenceType *reference_type) const |
Tagged< HeapObject > | GetHeapObject () const |
Tagged< HeapObject > | GetHeapObject (Isolate *isolate) const |
Tagged< Object > | GetHeapObjectOrSmi () const |
Tagged< Object > | GetHeapObjectOrSmi (Isolate *isolate) const |
template<typename T > | |
Tagged< T > | cast () const |
Static Public Attributes | |
static const bool | kIsFull = sizeof(StorageType) == kSystemPointerSize |
static const bool | kCanBeWeak = kRefType == HeapObjectReferenceType::WEAK |
Protected Member Functions | |
StorageType * | ptr_location () |
const StorageType * | ptr_location () const |
Private Attributes | |
StorageType | ptr_ |
Friends | |
class | CompressedObjectSlot |
class | CompressedMaybeObjectSlot |
class | FullObjectSlot |
class | FullMaybeObjectSlot |
class | FullHeapObjectSlot |
Definition at line 33 of file tagged-impl.h.
|
inlineconstexpr |
Definition at line 46 of file tagged-impl.h.
|
inlineexplicitconstexpr |
Definition at line 47 of file tagged-impl.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 57 of file tagged-impl-inl.h.
|
inline |
Definition at line 84 of file tagged-impl-inl.h.
|
inline |
|
inline |
Definition at line 73 of file tagged-impl-inl.h.
|
inline |
Definition at line 131 of file tagged-impl-inl.h.
|
inline |
|
inline |
|
inline |
Definition at line 198 of file tagged-impl-inl.h.
|
inline |
|
inline |
Definition at line 101 of file tagged-impl-inl.h.
|
inline |
|
inline |
Definition at line 153 of file tagged-impl-inl.h.
|
inline |
Definition at line 247 of file tagged-impl-inl.h.
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 126 of file tagged-impl.h.
|
inlineconstexpr |
Definition at line 118 of file tagged-impl.h.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 141 of file tagged-impl.h.
|
inlineconstexpr |
Definition at line 148 of file tagged-impl.h.
|
inlineconstexpr |
Definition at line 136 of file tagged-impl.h.
|
inlineconstexpr |
Definition at line 153 of file tagged-impl.h.
|
inlineconstexpr |
|
explicitdelete |
|
inlineconstexpr |
Definition at line 74 of file tagged-impl.h.
|
inlineconstexpr |
Definition at line 104 of file tagged-impl.h.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 114 of file tagged-impl.h.
|
inlineprotected |
Definition at line 233 of file tagged-impl.h.
|
inlineprotected |
Definition at line 234 of file tagged-impl.h.
|
inlineconstexpr |
Definition at line 93 of file tagged-impl.h.
|
inline |
|
inline |
|
friend |
Definition at line 238 of file tagged-impl.h.
|
friend |
Definition at line 237 of file tagged-impl.h.
|
friend |
Definition at line 241 of file tagged-impl.h.
|
friend |
Definition at line 240 of file tagged-impl.h.
|
friend |
Definition at line 239 of file tagged-impl.h.
|
static |
Definition at line 44 of file tagged-impl.h.
|
static |
Definition at line 42 of file tagged-impl.h.
|
private |
Definition at line 243 of file tagged-impl.h.