![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <wasm-interpreter-runtime.h>
Public Member Functions | |
InterpreterHandle (Isolate *isolate, DirectHandle< Tuple2 > interpreter_object) | |
WasmInterpreter * | interpreter () |
const WasmModule * | module () const |
bool | Execute (WasmInterpreterThread *thread, Address frame_pointer, uint32_t func_index, const std::vector< WasmValue > &argument_values, std::vector< WasmValue > &return_values) |
bool | Execute (WasmInterpreterThread *thread, Address frame_pointer, uint32_t func_index, uint8_t *interpreter_fp) |
WasmInterpreterThread::State | ContinueExecution (WasmInterpreterThread *thread, bool called_from_js) |
DirectHandle< WasmInstanceObject > | GetInstanceObject () |
std::vector< WasmInterpreterStackEntry > | GetInterpretedStack (Address frame_pointer) |
int | GetFunctionIndex (Address frame_pointer, int index) const |
void | SetTrapFunctionIndex (int32_t func_index) |
Static Public Attributes | |
static constexpr ExternalPointerTag | kManagedTag = kGenericManagedTag |
Private Member Functions | |
InterpreterHandle (const InterpreterHandle &)=delete | |
InterpreterHandle & | operator= (const InterpreterHandle &)=delete |
WasmInterpreterThread::State | RunExecutionLoop (WasmInterpreterThread *thread, bool called_from_js) |
Static Private Member Functions | |
static ModuleWireBytes | GetBytes (Tagged< Tuple2 > interpreter_object) |
Private Attributes | |
Isolate * | isolate_ |
const WasmModule * | module_ |
WasmInterpreter | interpreter_ |
Definition at line 411 of file wasm-interpreter-runtime.h.
v8::internal::wasm::InterpreterHandle::InterpreterHandle | ( | Isolate * | isolate, |
DirectHandle< Tuple2 > | interpreter_object ) |
Definition at line 2844 of file wasm-interpreter-runtime.cc.
|
privatedelete |
|
inline |
Definition at line 202 of file wasm-interpreter-runtime-inl.h.
V8_EXPORT_PRIVATE bool v8::internal::wasm::InterpreterHandle::Execute | ( | WasmInterpreterThread * | thread, |
Address | frame_pointer, | ||
uint32_t | func_index, | ||
const std::vector< WasmValue > & | argument_values, | ||
std::vector< WasmValue > & | return_values ) |
Definition at line 2901 of file wasm-interpreter-runtime.cc.
bool v8::internal::wasm::InterpreterHandle::Execute | ( | WasmInterpreterThread * | thread, |
Address | frame_pointer, | ||
uint32_t | func_index, | ||
uint8_t * | interpreter_fp ) |
Definition at line 2940 of file wasm-interpreter-runtime.cc.
|
staticprivate |
Definition at line 2837 of file wasm-interpreter-runtime.cc.
int v8::internal::wasm::InterpreterHandle::GetFunctionIndex | ( | Address | frame_pointer, |
int | index ) const |
Definition at line 2973 of file wasm-interpreter-runtime.cc.
DirectHandle< WasmInstanceObject > v8::internal::wasm::InterpreterHandle::GetInstanceObject | ( | ) |
Definition at line 2952 of file wasm-interpreter-runtime.cc.
std::vector< WasmInterpreterStackEntry > v8::internal::wasm::InterpreterHandle::GetInterpretedStack | ( | Address | frame_pointer | ) |
Definition at line 2968 of file wasm-interpreter-runtime.cc.
|
inline |
Definition at line 417 of file wasm-interpreter-runtime.h.
|
inline |
Definition at line 418 of file wasm-interpreter-runtime.h.
|
privatedelete |
|
inlineprivate |
Definition at line 2855 of file wasm-interpreter-runtime.cc.
void v8::internal::wasm::InterpreterHandle::SetTrapFunctionIndex | ( | int32_t | func_index | ) |
Definition at line 2978 of file wasm-interpreter-runtime.cc.
|
private |
Definition at line 453 of file wasm-interpreter-runtime.h.
|
private |
Definition at line 451 of file wasm-interpreter-runtime.h.
|
staticconstexpr |
Definition at line 413 of file wasm-interpreter-runtime.h.
|
private |
Definition at line 452 of file wasm-interpreter-runtime.h.