#include <wasm-interpreter.h>
|
| | WasmInterpreterThread (Isolate *isolate) |
| |
| | ~WasmInterpreterThread () |
| |
| Handle< FixedArray > | reference_stack () const |
| |
| bool | ExpandStack (size_t additional_required_size) |
| |
| const Isolate * | GetIsolate () const |
| |
| State | state () const |
| |
| void | Run () |
| |
| void | Stop () |
| |
| void | Trap (TrapReason trap_reason, int trap_function_index, int trap_pc, const FrameState ¤t_frame) |
| |
| TrapReason | GetTrapReason () const |
| |
| void | Unwinding () |
| |
| WasmInterpreterThread::Activation * | StartActivation (WasmInterpreterRuntime *wasm_runtime, Address frame_pointer, uint8_t *interpreter_fp, const FrameState &frame_state) |
| |
| void | FinishActivation () |
| |
| const FrameState * | GetCurrentActivationFor (const WasmInterpreterRuntime *wasm_runtime) const |
| |
| void | SetCurrentFrame (const FrameState &frame_state) |
| |
| void | SetCurrentActivationFrame (uint32_t *fp, uint32_t current_frame_size, uint32_t current_stack_size, uint32_t current_ref_stack_fp, uint32_t current_ref_stack_frame_size) |
| |
| WasmInterpreterThread::Activation * | GetActivation (Address frame_pointer) const |
| |
| uint8_t * | NextFrameAddress () const |
| |
| uint32_t | NextRefStackOffset () const |
| |
| const uint8_t * | StackLimitAddress () const |
| |
| void | EnsureRefStackSpace (size_t new_size) |
| |
| void | ClearRefStackValues (size_t index, size_t count) |
| |
| void | StartExecutionTimer () |
| |
| void | StopExecutionTimer () |
| |
| void | TerminateExecutionTimers () |
| |
| void | RaiseException (Isolate *isolate, MessageTemplate message) |
| |
Definition at line 200 of file wasm-interpreter.h.
◆ ExceptionHandlingResult
◆ State
| Enumerator |
|---|
| STOPPED | |
| RUNNING | |
| FINISHED | |
| TRAPPED | |
| EH_UNWINDING | |
Definition at line 276 of file wasm-interpreter.h.
◆ WasmInterpreterThread()
| v8::internal::wasm::WasmInterpreterThread::WasmInterpreterThread |
( |
Isolate * | isolate | ) |
|
|
explicit |
◆ ~WasmInterpreterThread()
| v8::internal::wasm::WasmInterpreterThread::~WasmInterpreterThread |
( |
| ) |
|
◆ ClearRefStackValues()
| void v8::internal::wasm::WasmInterpreterThread::ClearRefStackValues |
( |
size_t | index, |
|
|
size_t | count ) |
◆ EnsureRefStackSpace()
| void v8::internal::wasm::WasmInterpreterThread::EnsureRefStackSpace |
( |
size_t | new_size | ) |
|
◆ ExpandStack()
| bool v8::internal::wasm::WasmInterpreterThread::ExpandStack |
( |
size_t | additional_required_size | ) |
|
|
inline |
◆ Finish()
| void v8::internal::wasm::WasmInterpreterThread::Finish |
( |
| ) |
|
|
inlineprivate |
◆ FinishActivation()
| void v8::internal::wasm::WasmInterpreterThread::FinishActivation |
( |
| ) |
|
|
inline |
◆ GetActivation()
◆ GetCurrentActivationFor()
◆ GetCurrentInterpreterThread()
◆ GetIsolate()
| const Isolate * v8::internal::wasm::WasmInterpreterThread::GetIsolate |
( |
| ) |
const |
|
inline |
◆ GetRuntimeLastWasmError()
| TrapReason v8::internal::wasm::WasmInterpreterThread::GetRuntimeLastWasmError |
( |
Isolate * | isolate | ) |
|
|
static |
◆ GetTrapReason()
| TrapReason v8::internal::wasm::WasmInterpreterThread::GetTrapReason |
( |
| ) |
const |
|
inline |
◆ Initialize()
| static void v8::internal::wasm::WasmInterpreterThread::Initialize |
( |
| ) |
|
|
inlinestatic |
◆ NextFrameAddress()
| uint8_t * v8::internal::wasm::WasmInterpreterThread::NextFrameAddress |
( |
| ) |
const |
|
inline |
◆ NextRefStackOffset()
| uint32_t v8::internal::wasm::WasmInterpreterThread::NextRefStackOffset |
( |
| ) |
const |
|
inline |
◆ NotifyIsolateDisposal()
| static void v8::internal::wasm::WasmInterpreterThread::NotifyIsolateDisposal |
( |
Isolate * | isolate | ) |
|
|
inlinestatic |
◆ RaiseException()
◆ reference_stack()
| Handle< FixedArray > v8::internal::wasm::WasmInterpreterThread::reference_stack |
( |
| ) |
const |
|
inline |
◆ Run()
| void v8::internal::wasm::WasmInterpreterThread::Run |
( |
| ) |
|
|
inline |
◆ SetCurrentActivationFrame()
| void v8::internal::wasm::WasmInterpreterThread::SetCurrentActivationFrame |
( |
uint32_t * | fp, |
|
|
uint32_t | current_frame_size, |
|
|
uint32_t | current_stack_size, |
|
|
uint32_t | current_ref_stack_fp, |
|
|
uint32_t | current_ref_stack_frame_size ) |
|
inline |
◆ SetCurrentFrame()
| void v8::internal::wasm::WasmInterpreterThread::SetCurrentFrame |
( |
const FrameState & | frame_state | ) |
|
|
inline |
◆ SetRuntimeLastWasmError()
◆ stack_mem()
| uint8_t * v8::internal::wasm::WasmInterpreterThread::stack_mem |
( |
| ) |
const |
|
inlineprivate |
◆ StackLimitAddress()
| const uint8_t * v8::internal::wasm::WasmInterpreterThread::StackLimitAddress |
( |
| ) |
const |
|
inline |
◆ StartActivation()
◆ StartExecutionTimer()
| void v8::internal::wasm::WasmInterpreterThread::StartExecutionTimer |
( |
| ) |
|
◆ state()
| State v8::internal::wasm::WasmInterpreterThread::state |
( |
| ) |
const |
|
inline |
◆ Stop()
| void v8::internal::wasm::WasmInterpreterThread::Stop |
( |
| ) |
|
|
inline |
◆ StopExecutionTimer()
| void v8::internal::wasm::WasmInterpreterThread::StopExecutionTimer |
( |
| ) |
|
◆ Terminate()
| static void v8::internal::wasm::WasmInterpreterThread::Terminate |
( |
| ) |
|
|
inlinestatic |
◆ TerminateExecutionTimers()
| void v8::internal::wasm::WasmInterpreterThread::TerminateExecutionTimers |
( |
| ) |
|
◆ Trap()
| void v8::internal::wasm::WasmInterpreterThread::Trap |
( |
TrapReason | trap_reason, |
|
|
int | trap_function_index, |
|
|
int | trap_pc, |
|
|
const FrameState & | current_frame ) |
|
inline |
◆ Unwinding()
| void v8::internal::wasm::WasmInterpreterThread::Unwinding |
( |
| ) |
|
|
inline |
◆ activations_
| std::vector<std::unique_ptr<Activation> > v8::internal::wasm::WasmInterpreterThread::activations_ |
|
private |
◆ current_ref_stack_size_
| size_t v8::internal::wasm::WasmInterpreterThread::current_ref_stack_size_ |
|
private |
◆ current_stack_size_
| uint32_t v8::internal::wasm::WasmInterpreterThread::current_stack_size_ |
|
private |
◆ execution_timer_
◆ isolate_
| Isolate* v8::internal::wasm::WasmInterpreterThread::isolate_ |
|
private |
◆ kInitialStackSize
| uint32_t v8::internal::wasm::WasmInterpreterThread::kInitialStackSize = 1 * MB |
|
staticconstexprprivate |
◆ kMaxStackSize
| uint32_t v8::internal::wasm::WasmInterpreterThread::kMaxStackSize = 32 * MB |
|
staticconstexprprivate |
◆ kStackSizeIncrement
| uint32_t v8::internal::wasm::WasmInterpreterThread::kStackSizeIncrement = 1 * MB |
|
staticconstexprprivate |
◆ reference_stack_
◆ stack_mem_
| void* v8::internal::wasm::WasmInterpreterThread::stack_mem_ |
|
private |
◆ state_
| State v8::internal::wasm::WasmInterpreterThread::state_ |
|
private |
◆ thread_interpreter_map_s
◆ trap_reason_
| TrapReason v8::internal::wasm::WasmInterpreterThread::trap_reason_ |
|
private |
The documentation for this class was generated from the following files: