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

#include <module-instantiate.h>

Collaboration diagram for v8::internal::wasm::ResolvedWasmImport:

Public Member Functions

V8_EXPORT_PRIVATE ResolvedWasmImport (DirectHandle< WasmTrustedInstanceData > trusted_instance_data, int func_index, DirectHandle< JSReceiver > callable, const wasm::CanonicalSig *sig, CanonicalTypeIndex expected_sig_id, WellKnownImport preknown_import)
 
ImportCallKind kind () const
 
WellKnownImport well_known_status () const
 
Suspend suspend () const
 
DirectHandle< JSReceivercallable () const
 
DirectHandle< WasmFunctionDatatrusted_function_data () const
 

Private Member Functions

void SetCallable (Isolate *isolate, Tagged< JSReceiver > callable)
 
void SetCallable (Isolate *isolate, DirectHandle< JSReceiver > callable)
 
ImportCallKind ComputeKind (DirectHandle< WasmTrustedInstanceData > trusted_instance_data, int func_index, const wasm::CanonicalSig *expected_sig, CanonicalTypeIndex expected_canonical_type_index, WellKnownImport preknown_import)
 

Private Attributes

ImportCallKind kind_
 
WellKnownImport well_known_status_ {WellKnownImport::kGeneric}
 
Suspend suspend_ {kNoSuspend}
 
DirectHandle< JSReceivercallable_
 
DirectHandle< WasmFunctionDatatrusted_function_data_
 

Detailed Description

Definition at line 65 of file module-instantiate.h.

Constructor & Destructor Documentation

◆ ResolvedWasmImport()

v8::internal::wasm::ResolvedWasmImport::ResolvedWasmImport ( DirectHandle< WasmTrustedInstanceData > trusted_instance_data,
int func_index,
DirectHandle< JSReceiver > callable,
const wasm::CanonicalSig * sig,
CanonicalTypeIndex expected_sig_id,
WellKnownImport preknown_import )

Definition at line 662 of file module-instantiate.cc.

Here is the call graph for this function:

Member Function Documentation

◆ callable()

DirectHandle< JSReceiver > v8::internal::wasm::ResolvedWasmImport::callable ( ) const
inline

Definition at line 78 of file module-instantiate.h.

Here is the caller graph for this function:

◆ ComputeKind()

ImportCallKind v8::internal::wasm::ResolvedWasmImport::ComputeKind ( DirectHandle< WasmTrustedInstanceData > trusted_instance_data,
int func_index,
const wasm::CanonicalSig * expected_sig,
CanonicalTypeIndex expected_canonical_type_index,
WellKnownImport preknown_import )
private

Definition at line 688 of file module-instantiate.cc.

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

◆ kind()

ImportCallKind v8::internal::wasm::ResolvedWasmImport::kind ( ) const
inline

Definition at line 75 of file module-instantiate.h.

Here is the caller graph for this function:

◆ SetCallable() [1/2]

void v8::internal::wasm::ResolvedWasmImport::SetCallable ( Isolate * isolate,
DirectHandle< JSReceiver > callable )
private

Definition at line 677 of file module-instantiate.cc.

Here is the call graph for this function:

◆ SetCallable() [2/2]

void v8::internal::wasm::ResolvedWasmImport::SetCallable ( Isolate * isolate,
Tagged< JSReceiver > callable )
private

Definition at line 673 of file module-instantiate.cc.

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

◆ suspend()

Suspend v8::internal::wasm::ResolvedWasmImport::suspend ( ) const
inline

Definition at line 77 of file module-instantiate.h.

Here is the caller graph for this function:

◆ trusted_function_data()

DirectHandle< WasmFunctionData > v8::internal::wasm::ResolvedWasmImport::trusted_function_data ( ) const
inline

Definition at line 82 of file module-instantiate.h.

Here is the caller graph for this function:

◆ well_known_status()

WellKnownImport v8::internal::wasm::ResolvedWasmImport::well_known_status ( ) const
inline

Definition at line 76 of file module-instantiate.h.

Here is the caller graph for this function:

Member Data Documentation

◆ callable_

DirectHandle<JSReceiver> v8::internal::wasm::ResolvedWasmImport::callable_
private

Definition at line 99 of file module-instantiate.h.

◆ kind_

ImportCallKind v8::internal::wasm::ResolvedWasmImport::kind_
private

Definition at line 96 of file module-instantiate.h.

◆ suspend_

Suspend v8::internal::wasm::ResolvedWasmImport::suspend_ {kNoSuspend}
private

Definition at line 98 of file module-instantiate.h.

◆ trusted_function_data_

DirectHandle<WasmFunctionData> v8::internal::wasm::ResolvedWasmImport::trusted_function_data_
private

Definition at line 100 of file module-instantiate.h.

◆ well_known_status_

WellKnownImport v8::internal::wasm::ResolvedWasmImport::well_known_status_ {WellKnownImport::kGeneric}
private

Definition at line 97 of file module-instantiate.h.


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