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

#include <handles.h>

Inherited by v8::internal::Handle< v8::internal::HeapObject >, v8::internal::Handle< Module >, v8::internal::Handle< String >, v8::internal::Handle< Object >, v8::internal::Handle< HeapObject >, v8::internal::Handle< v8::internal::Context >, v8::internal::Handle< v8::internal::AllocationSite >, v8::internal::Handle< v8::internal::Object >, v8::internal::Handle< v8::internal::ArrayBoilerplateDescription >, v8::internal::Handle< v8::internal::Code >, v8::internal::Handle< v8::internal::String >, v8::internal::Handle< v8::internal::Script >, v8::internal::Handle< v8::internal::SharedFunctionInfo >, v8::internal::Handle< v8::internal::DebugInfo >, v8::internal::Handle< v8::internal::AbstractCode >, v8::internal::Handle< v8::internal::JSFunction >, v8::internal::Handle< v8::internal::FunctionTemplateInfo >, v8::internal::Handle< v8::internal::BytecodeArray >, v8::internal::Handle< v8::internal::ScopeInfo >, v8::internal::Handle< v8::internal::JSObject >, v8::internal::Handle< v8::internal::RegExpMatchInfo >, v8::internal::Handle< v8::internal::StringSet >, v8::internal::Handle< v8::internal::FixedArray >, v8::internal::Handle< v8::internal::Name >, v8::internal::Handle< v8::internal::JSReceiver >, v8::internal::Handle< v8::internal::Map >, v8::internal::Handle< v8::internal::WeakFixedArray >, v8::internal::Handle< v8::internal::FeedbackMetadata >, v8::internal::Handle< v8::internal::FeedbackVector >, v8::internal::Handle< v8::internal::ByteArray >, v8::internal::Handle< v8::internal::TrustedObject >, v8::internal::Handle< v8::internal::NativeContext >, v8::internal::Handle< v8::internal::JSGlobalProxy >, v8::internal::Handle< v8::internal::WasmTrustedInstanceData >, v8::internal::Handle< v8::internal::JSAtomicsMutex >, v8::internal::Handle< v8::internal::OrderedHashSet >, v8::internal::Handle< v8::internal::ObjectHashSet >, v8::internal::Handle< UnionOf< v8::internal::Map, v8::internal::PropertyCell > >, v8::internal::Handle< v8::internal::DescriptorArray >, v8::internal::Handle< v8::internal::Symbol >, v8::internal::Handle< v8::internal::Union >, v8::internal::Handle< v8::internal::FieldType >, v8::internal::Handle< v8::internal::FixedIntegerArrayBase >, v8::internal::Handle< v8::internal::NumberDictionary >, v8::internal::Handle< v8::internal::ObjectBoilerplateDescription >, v8::internal::Handle< v8::internal::PreparseData >, v8::internal::Handle< UnionOf< v8::internal::Union, v8::internal::FunctionTemplateInfo > >, v8::internal::Handle< v8::internal::RegExpData >, v8::internal::Handle< v8::internal::JSGeneratorObject >, v8::internal::Handle< typename v8::internal::CharTraits< Char >::String >, v8::internal::Handle< v8::internal::TrustedByteArray >, v8::internal::Handle< v8::internal::SwissNameDictionary >, v8::internal::Handle< v8::internal::CoverageInfo >, v8::internal::Handle< v8::internal::AsmWasmData >, v8::internal::Handle< v8::internal::JSGlobalObject >, v8::internal::Handle< v8::internal::FeedbackCell >, v8::internal::Handle< v8::internal::DeoptimizationData >, v8::internal::Handle< v8::internal::WasmModuleObject >, v8::internal::Handle< v8::internal::WasmDispatchTable >, v8::internal::Handle< v8::internal::JSArrayBuffer >, v8::internal::Handle< v8::internal::WasmFunctionData >, v8::internal::Handle< v8::internal::WasmInstanceObject >, v8::internal::Handle< v8::internal::JSWeakMap >, and v8::internal::Handle< T >.

Collaboration diagram for v8::internal::HandleBase:

Public Member Functions

V8_INLINE bool is_identical_to (const HandleBase &that) const
 
template<typename T >
V8_INLINE bool is_identical_to (const DirectHandle< T > &that) const
 
V8_INLINE bool is_null () const
 
V8_INLINE Address address () const
 
V8_INLINE Addresslocation () const
 
V8_INLINE ValueHelper::InternalRepresentationType repr () const
 

Protected Member Functions

V8_INLINE HandleBase (Address *location)
 
V8_INLINE HandleBase (Address object, Isolate *isolate)
 
V8_INLINE HandleBase (Address object, LocalIsolate *isolate)
 
V8_INLINE HandleBase (Address object, LocalHeap *local_heap)
 
V8_INLINE bool IsDereferenceAllowed () const
 

Protected Attributes

Addresslocation_
 

Detailed Description

Definition at line 57 of file handles.h.

Constructor & Destructor Documentation

◆ HandleBase() [1/4]

V8_INLINE v8::internal::HandleBase::HandleBase ( Address * location)
inlineexplicitprotected

Definition at line 120 of file handles.h.

◆ HandleBase() [2/4]

v8::internal::HandleBase::HandleBase ( Address object,
Isolate * isolate )
explicitprotected

Definition at line 27 of file handles-inl.h.

◆ HandleBase() [3/4]

v8::internal::HandleBase::HandleBase ( Address object,
LocalIsolate * isolate )
explicitprotected

Definition at line 30 of file handles-inl.h.

◆ HandleBase() [4/4]

v8::internal::HandleBase::HandleBase ( Address object,
LocalHeap * local_heap )
explicitprotected

Definition at line 33 of file handles-inl.h.

Member Function Documentation

◆ address()

V8_INLINE Address v8::internal::HandleBase::address ( ) const
inline

Definition at line 73 of file handles.h.

Here is the caller graph for this function:

◆ is_identical_to() [1/2]

template<typename T >
V8_INLINE bool v8::internal::HandleBase::is_identical_to ( const DirectHandle< T > & that) const
inline

Definition at line 65 of file handles.h.

Here is the call graph for this function:

◆ is_identical_to() [2/2]

bool v8::internal::HandleBase::is_identical_to ( const HandleBase & that) const

Definition at line 36 of file handles-inl.h.

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

◆ is_null()

V8_INLINE bool v8::internal::HandleBase::is_null ( ) const
inline

Definition at line 69 of file handles.h.

Here is the caller graph for this function:

◆ IsDereferenceAllowed()

V8_INLINE bool v8::internal::HandleBase::IsDereferenceAllowed ( ) const
inlineprotected

Definition at line 128 of file handles.h.

Here is the caller graph for this function:

◆ location()

V8_INLINE Address * v8::internal::HandleBase::location ( ) const
inline

Definition at line 80 of file handles.h.

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

◆ repr()

V8_INLINE ValueHelper::InternalRepresentationType v8::internal::HandleBase::repr ( ) const
inline

Definition at line 90 of file handles.h.

Member Data Documentation

◆ location_

Address* v8::internal::HandleBase::location_
protected

Definition at line 134 of file handles.h.


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