![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <wasm-interpreter.h>
Classes | |
struct | CatchBlock |
struct | CatchHandler |
struct | ExceptionPayloadSlotOffsets |
struct | TryBlock |
Public Types | |
typedef int | BlockIndex |
Public Member Functions | |
const TryBlock * | GetTryBlock (CodeOffset code_offset) const |
const TryBlock * | GetParentTryBlock (const TryBlock *try_block) const |
const TryBlock * | GetDelegateTryBlock (const TryBlock *try_block) const |
size_t | GetEndInstructionOffsetFor (BlockIndex catch_block_index) const |
ExceptionPayloadSlotOffsets | GetExceptionPayloadStartSlotOffsets (BlockIndex catch_block_index) const |
void | SetCaughtException (Isolate *isolate, BlockIndex catch_block_index, DirectHandle< Object > exception) |
DirectHandle< Object > | GetCaughtException (Isolate *isolate, BlockIndex catch_block_index) const |
Static Public Attributes | |
static const int | kCatchAllTagIndex = -1 |
static const int | kDelegateToCallerIndex = 0 |
Protected Member Functions | |
BlockIndex | GetTryBranchOf (BlockIndex catch_block_index) const |
Protected Attributes | |
std::unordered_map< CodeOffset, BlockIndex > | code_trycatch_map_ |
std::unordered_map< BlockIndex, TryBlock > | try_blocks_ |
std::unordered_map< BlockIndex, CatchBlock > | catch_blocks_ |
Definition at line 1244 of file wasm-interpreter.h.
Definition at line 1252 of file wasm-interpreter.h.
DirectHandle< Object > v8::internal::wasm::WasmEHData::GetCaughtException | ( | Isolate * | isolate, |
BlockIndex | catch_block_index ) const |
const WasmEHData::TryBlock * v8::internal::wasm::WasmEHData::GetDelegateTryBlock | ( | const TryBlock * | try_block | ) | const |
size_t v8::internal::wasm::WasmEHData::GetEndInstructionOffsetFor | ( | WasmEHData::BlockIndex | catch_block_index | ) | const |
Definition at line 7225 of file wasm-interpreter.cc.
WasmEHData::ExceptionPayloadSlotOffsets v8::internal::wasm::WasmEHData::GetExceptionPayloadStartSlotOffsets | ( | WasmEHData::BlockIndex | catch_block_index | ) | const |
const WasmEHData::TryBlock * v8::internal::wasm::WasmEHData::GetParentTryBlock | ( | const TryBlock * | try_block | ) | const |
const WasmEHData::TryBlock * v8::internal::wasm::WasmEHData::GetTryBlock | ( | CodeOffset | code_offset | ) | const |
Definition at line 7192 of file wasm-interpreter.cc.
|
protected |
void v8::internal::wasm::WasmEHData::SetCaughtException | ( | Isolate * | isolate, |
BlockIndex | catch_block_index, | ||
DirectHandle< Object > | exception ) |
|
protected |
Definition at line 1316 of file wasm-interpreter.h.
|
protected |
Definition at line 1314 of file wasm-interpreter.h.
|
static |
Definition at line 1246 of file wasm-interpreter.h.
|
static |
Definition at line 1250 of file wasm-interpreter.h.
|
protected |
Definition at line 1315 of file wasm-interpreter.h.