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

#include <tagged-value.h>

Inheritance diagram for v8::internal::StrongTaggedValue:
Collaboration diagram for v8::internal::StrongTaggedValue:

Public Member Functions

constexpr StrongTaggedValue ()
 
constexpr StrongTaggedValue (Tagged_t ptr)
 
 StrongTaggedValue (Tagged< Object > o)
 
- Public Member Functions inherited from v8::internal::TaggedImpl< HeapObjectReferenceType::STRONG, 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< ObjectToObject (Isolate *isolate, StrongTaggedValue object)
 

Additional Inherited Members

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

Detailed Description

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

Constructor & Destructor Documentation

◆ StrongTaggedValue() [1/3]

v8::internal::StrongTaggedValue::StrongTaggedValue ( )
inlineconstexpr

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

◆ StrongTaggedValue() [2/3]

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

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

◆ StrongTaggedValue() [3/3]

v8::internal::StrongTaggedValue::StrongTaggedValue ( Tagged< Object > o)
inlineexplicit

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

Member Function Documentation

◆ ToObject()

Tagged< Object > v8::internal::StrongTaggedValue::ToObject ( Isolate * isolate,
StrongTaggedValue object )
inlinestatic

Definition at line 32 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: