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

Classes

struct  ConfigImpl
 
struct  EngineImpl
 
struct  ExportTypeImpl
 
struct  ExternTypeImpl
 
struct  FuncData
 
struct  FuncTypeImpl
 
struct  GlobalTypeImpl
 
struct  implement
 
struct  implement< Config >
 
struct  implement< Engine >
 
struct  implement< ExportType >
 
struct  implement< Extern >
 
struct  implement< ExternType >
 
struct  implement< Foreign >
 
struct  implement< Frame >
 
struct  implement< Func >
 
struct  implement< FuncType >
 
struct  implement< Global >
 
struct  implement< GlobalType >
 
struct  implement< ImportType >
 
struct  implement< Instance >
 
struct  implement< Memory >
 
struct  implement< MemoryType >
 
struct  implement< Module >
 
struct  implement< Ref >
 
struct  implement< Shared< Module > >
 
struct  implement< Store >
 
struct  implement< Table >
 
struct  implement< TableType >
 
struct  implement< Trap >
 
struct  implement< ValType >
 
struct  ImportTypeImpl
 
struct  ManagedData
 
struct  MemoryTypeImpl
 
class  RefImpl
 
class  StoreImpl
 
struct  TableTypeImpl
 
struct  ValTypeImpl
 

Functions

void WASM_UNIMPLEMENTED (const char *s)
 BEGIN FILE wasm-v8.cc.
 
template<class T >
void ignore (T)
 
template<class C >
auto impl (C *x) -> typename implement< C >::type *
 
template<class C >
auto impl (const C *x) -> const typename implement< C >::type *
 
template<class C >
auto seal (typename implement< C >::type *x) -> C *
 
template<class C >
auto seal (const typename implement< C >::type *x) -> const C *
 
void CheckAndHandleInterrupts (i::Isolate *isolate)
 
i::DirectHandle< i::StringVecToString (i::Isolate *isolate, const vec< byte_t > &chars)
 
ownvec< ExportType > ExportsImpl (i::DirectHandle< i::WasmModuleObject > module_obj)
 
auto extern_to_v8 (const Extern *ex) -> i::DirectHandle< i::JSReceiver >
 

Variables

ValTypeImplvaltype_i32 = new ValTypeImpl(ValKind::I32)
 
ValTypeImplvaltype_i64 = new ValTypeImpl(ValKind::I64)
 
ValTypeImplvaltype_f32 = new ValTypeImpl(ValKind::F32)
 
ValTypeImplvaltype_f64 = new ValTypeImpl(ValKind::F64)
 
ValTypeImplvaltype_externref = new ValTypeImpl(ValKind::EXTERNREF)
 
ValTypeImplvaltype_funcref = new ValTypeImpl(ValKind::FUNCREF)
 

Function Documentation

◆ CheckAndHandleInterrupts()

void wasm::CheckAndHandleInterrupts ( i::Isolate * isolate)

Definition at line 460 of file c-api.cc.

◆ ExportsImpl()

ownvec< ExportType > wasm::ExportsImpl ( i::DirectHandle< i::WasmModuleObject > module_obj)

Definition at line 1275 of file c-api.cc.

◆ extern_to_v8()

auto wasm::extern_to_v8 ( const Extern * ex) -> i::DirectHandle<i::JSReceiver>

Definition at line 1466 of file c-api.cc.

Here is the call graph for this function:

◆ ignore()

template<class T >
void wasm::ignore ( T )

Definition at line 237 of file c-api.cc.

◆ impl() [1/2]

template<class C >
auto wasm::impl ( C * x) -> typename implement<C>::type*

Definition at line 243 of file c-api.cc.

Here is the caller graph for this function:

◆ impl() [2/2]

template<class C >
auto wasm::impl ( const C * x) -> const typename implement<C>::type*

Definition at line 248 of file c-api.cc.

◆ seal() [1/2]

template<class C >
auto wasm::seal ( const typename implement< C >::type * x) -> const C*

Definition at line 258 of file c-api.cc.

◆ seal() [2/2]

template<class C >
auto wasm::seal ( typename implement< C >::type * x) -> C*

Definition at line 253 of file c-api.cc.

Here is the caller graph for this function:

◆ VecToString()

i::DirectHandle< i::String > wasm::VecToString ( i::Isolate * isolate,
const vec< byte_t > & chars )

Definition at line 946 of file c-api.cc.

◆ WASM_UNIMPLEMENTED()

void wasm::WASM_UNIMPLEMENTED ( const char * s)

BEGIN FILE wasm-v8.cc.

Definition at line 231 of file c-api.cc.

Variable Documentation

◆ valtype_externref

ValTypeImpl* wasm::valtype_externref = new ValTypeImpl(ValKind::EXTERNREF)

Definition at line 598 of file c-api.cc.

◆ valtype_f32

ValTypeImpl* wasm::valtype_f32 = new ValTypeImpl(ValKind::F32)

Definition at line 596 of file c-api.cc.

◆ valtype_f64

ValTypeImpl* wasm::valtype_f64 = new ValTypeImpl(ValKind::F64)

Definition at line 597 of file c-api.cc.

◆ valtype_funcref

ValTypeImpl* wasm::valtype_funcref = new ValTypeImpl(ValKind::FUNCREF)

Definition at line 599 of file c-api.cc.

◆ valtype_i32

ValTypeImpl* wasm::valtype_i32 = new ValTypeImpl(ValKind::I32)

Definition at line 594 of file c-api.cc.

◆ valtype_i64

ValTypeImpl* wasm::valtype_i64 = new ValTypeImpl(ValKind::I64)

Definition at line 595 of file c-api.cc.