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

#include <foreign.h>

Inheritance diagram for v8::internal::Foreign:
Collaboration diagram for v8::internal::Foreign:

Public Types

using BodyDescriptor
 

Public Member Functions

template<ExternalPointerTag tag>
Address foreign_address (IsolateForSandbox isolate) const
 
template<ExternalPointerTag tag>
Address foreign_address () const
 
template<ExternalPointerTag tag>
void set_foreign_address (IsolateForSandbox isolate, const Address value)
 
template<ExternalPointerTag tag>
void init_foreign_address (IsolateForSandbox isolate, const Address initial_value)
 
Address foreign_address_unchecked () const
 
ExternalPointerTag GetTag () const
 

Detailed Description

Definition at line 19 of file foreign.h.

Member Typedef Documentation

◆ BodyDescriptor

Initial value:
StackedBodyDescriptor<
WithExternalPointer<kForeignAddressOffset,
FixedBodyDescriptor< T::kStartOfStrongFieldsOffset, T::kEndOfStrongFieldsOffset, T::kSize > FixedBodyDescriptorFor
constexpr ExternalPointerTagRange kAnyForeignExternalPointerTagRange(kFirstForeignExternalPointerTag, kLastForeignExternalPointerTag)

Definition at line 55 of file foreign.h.

Member Function Documentation

◆ foreign_address() [1/2]

template<ExternalPointerTag tag>
Address v8::internal::Foreign::foreign_address ( ) const
inline

Definition at line 34 of file foreign-inl.h.

Here is the call graph for this function:

◆ foreign_address() [2/2]

template<ExternalPointerTag tag>
Address v8::internal::Foreign::foreign_address ( IsolateForSandbox isolate) const
inline

Definition at line 28 of file foreign-inl.h.

Here is the call graph for this function:

◆ foreign_address_unchecked()

Address v8::internal::Foreign::foreign_address_unchecked ( ) const
inline

Definition at line 51 of file foreign-inl.h.

Here is the call graph for this function:

◆ GetTag()

ExternalPointerTag v8::internal::Foreign::GetTag ( ) const
inline

Definition at line 57 of file foreign-inl.h.

Here is the call graph for this function:

◆ init_foreign_address()

template<ExternalPointerTag tag>
void v8::internal::Foreign::init_foreign_address ( IsolateForSandbox isolate,
const Address initial_value )
inline

Definition at line 46 of file foreign-inl.h.

Here is the call graph for this function:

◆ set_foreign_address()

template<ExternalPointerTag tag>
void v8::internal::Foreign::set_foreign_address ( IsolateForSandbox isolate,
const Address value )
inline

Definition at line 40 of file foreign-inl.h.

Here is the call graph for this function:

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