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

#include <tagged-value.h>

Inheritance diagram for v8::internal::TaggedValue:
Collaboration diagram for v8::internal::TaggedValue:

Public Member Functions

constexpr TaggedValue ()
 
constexpr TaggedValue (Tagged_t ptr)
 
 TaggedValue (Tagged< MaybeObject > o)
 
- Public Member Functions inherited from v8::internal::TaggedImpl< HeapObjectReferenceType::WEAK, Tagged_t >
V8_INLINE constexpr TaggedImpl ()
 
V8_INLINE constexpr TaggedImpl (Tagged_t ptr)
 
 operator bool () const=delete
 
constexpr bool operator== (TaggedImpl< kOtherRefType, U > other) const
 
constexpr bool operator!= (TaggedImpl< kOtherRefType, U > other) const
 
constexpr bool SafeEquals (TaggedImpl< kOtherRefType, Tagged_t > other) const
 
constexpr bool operator< (TaggedImpl other) const
 
V8_INLINE constexpr Tagged_t ptr () const
 
constexpr bool IsObject () const
 
constexpr bool IsSmi () const
 
bool ToSmi (Tagged< Smi > *value) const
 
Tagged< SmiToSmi () 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< HeapObjectGetHeapObjectAssumeStrong () const
 
Tagged< HeapObjectGetHeapObjectAssumeStrong (Isolate *isolate) const
 
bool GetHeapObjectIfWeak (Tagged< HeapObject > *result) const
 
bool GetHeapObjectIfWeak (Isolate *isolate, Tagged< HeapObject > *result) const
 
Tagged< HeapObjectGetHeapObjectAssumeWeak () const
 
Tagged< HeapObjectGetHeapObjectAssumeWeak (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< HeapObjectGetHeapObject () const
 
Tagged< HeapObjectGetHeapObject (Isolate *isolate) const
 
Tagged< ObjectGetHeapObjectOrSmi () const
 
Tagged< ObjectGetHeapObjectOrSmi (Isolate *isolate) const
 
Tagged< Tcast () const
 

Static Public Member Functions

static Tagged< MaybeObjectToMaybeObject (Isolate *isolate, TaggedValue object)
 

Additional Inherited Members

- Static Public Attributes inherited from v8::internal::TaggedImpl< HeapObjectReferenceType::WEAK, Tagged_t >
static const bool kIsFull
 
static const bool kCanBeWeak
 
- Protected Member Functions inherited from v8::internal::TaggedImpl< HeapObjectReferenceType::WEAK, Tagged_t >
Tagged_tptr_location ()
 
const Tagged_tptr_location () const
 

Detailed Description

Definition at line 33 of file tagged-value.h.

Constructor & Destructor Documentation

◆ TaggedValue() [1/3]

v8::internal::TaggedValue::TaggedValue ( )
inlineconstexpr

Definition at line 35 of file tagged-value.h.

◆ TaggedValue() [2/3]

v8::internal::TaggedValue::TaggedValue ( Tagged_t ptr)
inlineexplicitconstexpr

Definition at line 36 of file tagged-value.h.

◆ TaggedValue() [3/3]

v8::internal::TaggedValue::TaggedValue ( Tagged< MaybeObject > o)
inlineexplicit

Definition at line 42 of file tagged-value-inl.h.

Member Function Documentation

◆ ToMaybeObject()

Tagged< MaybeObject > v8::internal::TaggedValue::ToMaybeObject ( Isolate * isolate,
TaggedValue object )
inlinestatic

Definition at line 52 of file tagged-value-inl.h.

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

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