#include <jump-table-assembler.h>
|
static uint32_t | SlotOffsetToIndex (uint32_t slot_offset) |
|
static uint32_t | JumpSlotIndexToOffset (uint32_t slot_index) |
|
static constexpr uint32_t | SizeForNumberOfSlots (uint32_t slot_count) |
|
static uint32_t | FarJumpSlotIndexToOffset (uint32_t slot_index) |
|
static uint32_t | FarJumpSlotOffsetToIndex (uint32_t offset) |
|
static constexpr uint32_t | SizeForNumberOfFarJumpSlots (int num_runtime_slots, int num_function_slots) |
|
static uint32_t | LazyCompileSlotIndexToOffset (uint32_t slot_index) |
|
static constexpr uint32_t | SizeForNumberOfLazyFunctions (uint32_t slot_count) |
|
static void | GenerateLazyCompileTable (Address base, uint32_t num_slots, uint32_t num_imported_functions, Address wasm_compile_lazy_target) |
|
static void | InitializeJumpsToLazyCompileTable (Address base, uint32_t num_slots, Address lazy_compile_table_start) |
|
static void | GenerateFarJumpTable (WritableJitAllocation &jit_allocation, Address base, Address *stub_targets, int num_runtime_slots, int num_function_slots) |
|
static void | PatchJumpTableSlot (WritableJumpTablePair &jump_table_pair, Address jump_table_slot, Address far_jump_table_slot, Address target) |
|
Definition at line 60 of file jump-table-assembler.h.
◆ JumpTableAssembler()
◆ emit() [1/4]
void v8::internal::wasm::JumpTableAssembler::emit |
( |
T | value | ) |
|
◆ emit() [2/4]
◆ emit() [3/4]
void v8::internal::wasm::JumpTableAssembler::emit |
( |
V | value | ) |
|
|
private |
◆ emit() [4/4]
◆ EmitFarJumpSlot()
void v8::internal::wasm::JumpTableAssembler::EmitFarJumpSlot |
( |
Address | target | ) |
|
|
private |
◆ EmitJumpSlot()
bool v8::internal::wasm::JumpTableAssembler::EmitJumpSlot |
( |
Address | target | ) |
|
|
private |
◆ EmitLazyCompileJumpSlot()
void v8::internal::wasm::JumpTableAssembler::EmitLazyCompileJumpSlot |
( |
uint32_t | func_index, |
|
|
Address | lazy_compile_target ) |
|
private |
◆ FarJumpSlotIndexToOffset()
static uint32_t v8::internal::wasm::JumpTableAssembler::FarJumpSlotIndexToOffset |
( |
uint32_t | slot_index | ) |
|
|
inlinestatic |
◆ FarJumpSlotOffsetToIndex()
static uint32_t v8::internal::wasm::JumpTableAssembler::FarJumpSlotOffsetToIndex |
( |
uint32_t | offset | ) |
|
|
inlinestatic |
◆ GenerateFarJumpTable()
static void v8::internal::wasm::JumpTableAssembler::GenerateFarJumpTable |
( |
WritableJitAllocation & | jit_allocation, |
|
|
Address | base, |
|
|
Address * | stub_targets, |
|
|
int | num_runtime_slots, |
|
|
int | num_function_slots ) |
|
inlinestatic |
◆ GenerateLazyCompileTable()
void v8::internal::wasm::JumpTableAssembler::GenerateLazyCompileTable |
( |
Address | base, |
|
|
uint32_t | num_slots, |
|
|
uint32_t | num_imported_functions, |
|
|
Address | wasm_compile_lazy_target ) |
|
static |
◆ InitializeJumpsToLazyCompileTable()
void v8::internal::wasm::JumpTableAssembler::InitializeJumpsToLazyCompileTable |
( |
Address | base, |
|
|
uint32_t | num_slots, |
|
|
Address | lazy_compile_table_start ) |
|
static |
◆ JumpSlotIndexToOffset()
static uint32_t v8::internal::wasm::JumpTableAssembler::JumpSlotIndexToOffset |
( |
uint32_t | slot_index | ) |
|
|
inlinestatic |
◆ LazyCompileSlotIndexToOffset()
static uint32_t v8::internal::wasm::JumpTableAssembler::LazyCompileSlotIndexToOffset |
( |
uint32_t | slot_index | ) |
|
|
inlinestatic |
◆ PatchFarJumpSlot()
◆ PatchJumpTableSlot()
static void v8::internal::wasm::JumpTableAssembler::PatchJumpTableSlot |
( |
WritableJumpTablePair & | jump_table_pair, |
|
|
Address | jump_table_slot, |
|
|
Address | far_jump_table_slot, |
|
|
Address | target ) |
|
inlinestatic |
◆ pc_offset()
int v8::internal::wasm::JumpTableAssembler::pc_offset |
( |
| ) |
const |
|
inlineprivate |
◆ SizeForNumberOfFarJumpSlots()
static constexpr uint32_t v8::internal::wasm::JumpTableAssembler::SizeForNumberOfFarJumpSlots |
( |
int | num_runtime_slots, |
|
|
int | num_function_slots ) |
|
inlinestaticconstexpr |
◆ SizeForNumberOfLazyFunctions()
static constexpr uint32_t v8::internal::wasm::JumpTableAssembler::SizeForNumberOfLazyFunctions |
( |
uint32_t | slot_count | ) |
|
|
inlinestaticconstexpr |
◆ SizeForNumberOfSlots()
static constexpr uint32_t v8::internal::wasm::JumpTableAssembler::SizeForNumberOfSlots |
( |
uint32_t | slot_count | ) |
|
|
inlinestaticconstexpr |
◆ SkipUntil()
void v8::internal::wasm::JumpTableAssembler::SkipUntil |
( |
int | offset | ) |
|
|
private |
◆ SlotOffsetToIndex()
static uint32_t v8::internal::wasm::JumpTableAssembler::SlotOffsetToIndex |
( |
uint32_t | slot_offset | ) |
|
|
inlinestatic |
◆ buffer_start_
const Address v8::internal::wasm::JumpTableAssembler::buffer_start_ |
|
private |
◆ jit_allocation_
◆ kJumpTableSlotsPerLine
int v8::internal::wasm::JumpTableAssembler::kJumpTableSlotsPerLine |
|
staticconstexprprivate |
◆ pc_
Address v8::internal::wasm::JumpTableAssembler::pc_ |
|
private |
The documentation for this class was generated from the following files: