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

#include <wasm-objects.h>

Inheritance diagram for v8::internal::WasmModuleObject:
Collaboration diagram for v8::internal::WasmModuleObject:

Public Member Functions

wasm::NativeModulenative_module () const
 
const std::shared_ptr< wasm::NativeModule > & shared_native_module () const
 
const wasm::WasmModulemodule () const
 
bool is_asm_js ()
 
base::Vector< const uint8_t > GetRawFunctionName (int func_index)
 

Static Public Member Functions

static V8_EXPORT_PRIVATE DirectHandle< WasmModuleObjectNew (Isolate *isolate, std::shared_ptr< wasm::NativeModule > native_module, DirectHandle< Script > script)
 
static MaybeDirectHandle< StringGetModuleNameOrNull (Isolate *, DirectHandle< WasmModuleObject >)
 
static MaybeDirectHandle< StringGetFunctionNameOrNull (Isolate *, DirectHandle< WasmModuleObject >, uint32_t func_index)
 
static DirectHandle< StringExtractUtf8StringFromModuleBytes (Isolate *, DirectHandle< WasmModuleObject >, wasm::WireBytesRef, InternalizeString)
 
static DirectHandle< StringExtractUtf8StringFromModuleBytes (Isolate *, base::Vector< const uint8_t > wire_byte, wasm::WireBytesRef, InternalizeString)
 

Detailed Description

Definition at line 158 of file wasm-objects.h.

Member Function Documentation

◆ ExtractUtf8StringFromModuleBytes() [1/2]

DirectHandle< String > v8::internal::WasmModuleObject::ExtractUtf8StringFromModuleBytes ( Isolate * isolate,
base::Vector< const uint8_t > wire_byte,
wasm::WireBytesRef ref,
InternalizeString internalize )
static

Definition at line 144 of file wasm-objects.cc.

Here is the call graph for this function:

◆ ExtractUtf8StringFromModuleBytes() [2/2]

DirectHandle< String > v8::internal::WasmModuleObject::ExtractUtf8StringFromModuleBytes ( Isolate * isolate,
DirectHandle< WasmModuleObject > module_object,
wasm::WireBytesRef ref,
InternalizeString internalize )
static

Definition at line 135 of file wasm-objects.cc.

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

◆ GetFunctionNameOrNull()

MaybeDirectHandle< String > v8::internal::WasmModuleObject::GetFunctionNameOrNull ( Isolate * isolate,
DirectHandle< WasmModuleObject > module_object,
uint32_t func_index )
static

Definition at line 168 of file wasm-objects.cc.

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

◆ GetModuleNameOrNull()

MaybeDirectHandle< String > v8::internal::WasmModuleObject::GetModuleNameOrNull ( Isolate * isolate,
DirectHandle< WasmModuleObject > module_object )
static

Definition at line 160 of file wasm-objects.cc.

Here is the call graph for this function:

◆ GetRawFunctionName()

base::Vector< const uint8_t > v8::internal::WasmModuleObject::GetRawFunctionName ( int func_index)

Definition at line 181 of file wasm-objects.cc.

Here is the call graph for this function:

◆ is_asm_js()

bool v8::internal::WasmModuleObject::is_asm_js ( )
inline

Definition at line 98 of file wasm-objects-inl.h.

Here is the call graph for this function:

◆ module()

const wasm::WasmModule * v8::internal::WasmModuleObject::module ( ) const
inline

Definition at line 94 of file wasm-objects-inl.h.

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

◆ native_module()

wasm::NativeModule * v8::internal::WasmModuleObject::native_module ( ) const
inline

Definition at line 87 of file wasm-objects-inl.h.

Here is the caller graph for this function:

◆ New()

DirectHandle< WasmModuleObject > v8::internal::WasmModuleObject::New ( Isolate * isolate,
std::shared_ptr< wasm::NativeModule > native_module,
DirectHandle< Script > script )
static

Definition at line 112 of file wasm-objects.cc.

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

◆ shared_native_module()

const std::shared_ptr< wasm::NativeModule > & v8::internal::WasmModuleObject::shared_native_module ( ) const
inline

Definition at line 91 of file wasm-objects-inl.h.


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