v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::wasm::WasmBytecodeGenerator::BlockData Struct Reference
Collaboration diagram for v8::internal::wasm::WasmBytecodeGenerator::BlockData:

Public Member Functions

 BlockData (WasmOpcode opcode, uint32_t begin_code_offset, int32_t parent_block_index, uint32_t stack_size, WasmInstruction::Optional::Block signature, uint32_t first_block_index, uint32_t rets_slots_count, uint32_t params_slots_count, int32_t parent_try_block_index)
 
bool IsRootBlock () const
 
bool IsBlock () const
 
bool IsLoop () const
 
bool IsIf () const
 
bool IsElse () const
 
bool HasElseBranch () const
 
bool IsTry () const
 
bool IsCatch () const
 
bool IsCatchAll () const
 
void SaveParams (uint32_t *from, size_t params_count)
 
uint32_t GetParam (size_t index) const
 

Public Attributes

WasmOpcode opcode_
 
uint32_t stack_size_
 
uint32_t begin_code_offset_
 
uint32_t end_code_offset_
 
int32_t parent_block_index_
 
int32_t if_else_block_index_
 
base::SmallVector< uint32_t, 4 > branch_code_offsets_
 
WasmInstruction::Optional::Block signature_
 
uint32_t first_block_index_
 
uint32_t rets_slots_count_
 
uint32_t params_slots_count_
 
int32_t parent_try_block_index_
 
bool is_unreachable_
 
base::SmallVector< uint32_t, 4 > if_block_params_
 

Detailed Description

Definition at line 1466 of file wasm-interpreter.h.

Constructor & Destructor Documentation

◆ BlockData()

v8::internal::wasm::WasmBytecodeGenerator::BlockData::BlockData ( WasmOpcode opcode,
uint32_t begin_code_offset,
int32_t parent_block_index,
uint32_t stack_size,
WasmInstruction::Optional::Block signature,
uint32_t first_block_index,
uint32_t rets_slots_count,
uint32_t params_slots_count,
int32_t parent_try_block_index )
inline

Definition at line 1467 of file wasm-interpreter.h.

Member Function Documentation

◆ GetParam()

uint32_t v8::internal::wasm::WasmBytecodeGenerator::BlockData::GetParam ( size_t index) const
inline

Definition at line 1502 of file wasm-interpreter.h.

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

◆ HasElseBranch()

bool v8::internal::wasm::WasmBytecodeGenerator::BlockData::HasElseBranch ( ) const
inline

Definition at line 1490 of file wasm-interpreter.h.

◆ IsBlock()

bool v8::internal::wasm::WasmBytecodeGenerator::BlockData::IsBlock ( ) const
inline

Definition at line 1486 of file wasm-interpreter.h.

◆ IsCatch()

bool v8::internal::wasm::WasmBytecodeGenerator::BlockData::IsCatch ( ) const
inline

Definition at line 1492 of file wasm-interpreter.h.

Here is the caller graph for this function:

◆ IsCatchAll()

bool v8::internal::wasm::WasmBytecodeGenerator::BlockData::IsCatchAll ( ) const
inline

Definition at line 1493 of file wasm-interpreter.h.

Here is the caller graph for this function:

◆ IsElse()

bool v8::internal::wasm::WasmBytecodeGenerator::BlockData::IsElse ( ) const
inline

Definition at line 1489 of file wasm-interpreter.h.

Here is the caller graph for this function:

◆ IsIf()

bool v8::internal::wasm::WasmBytecodeGenerator::BlockData::IsIf ( ) const
inline

Definition at line 1488 of file wasm-interpreter.h.

Here is the caller graph for this function:

◆ IsLoop()

bool v8::internal::wasm::WasmBytecodeGenerator::BlockData::IsLoop ( ) const
inline

Definition at line 1487 of file wasm-interpreter.h.

Here is the caller graph for this function:

◆ IsRootBlock()

bool v8::internal::wasm::WasmBytecodeGenerator::BlockData::IsRootBlock ( ) const
inline

Definition at line 1485 of file wasm-interpreter.h.

◆ IsTry()

bool v8::internal::wasm::WasmBytecodeGenerator::BlockData::IsTry ( ) const
inline

Definition at line 1491 of file wasm-interpreter.h.

Here is the caller graph for this function:

◆ SaveParams()

void v8::internal::wasm::WasmBytecodeGenerator::BlockData::SaveParams ( uint32_t * from,
size_t params_count )
inline

Definition at line 1495 of file wasm-interpreter.h.

Here is the call graph for this function:

Member Data Documentation

◆ begin_code_offset_

uint32_t v8::internal::wasm::WasmBytecodeGenerator::BlockData::begin_code_offset_

Definition at line 1510 of file wasm-interpreter.h.

◆ branch_code_offsets_

base::SmallVector<uint32_t, 4> v8::internal::wasm::WasmBytecodeGenerator::BlockData::branch_code_offsets_

Definition at line 1514 of file wasm-interpreter.h.

◆ end_code_offset_

uint32_t v8::internal::wasm::WasmBytecodeGenerator::BlockData::end_code_offset_

Definition at line 1511 of file wasm-interpreter.h.

◆ first_block_index_

uint32_t v8::internal::wasm::WasmBytecodeGenerator::BlockData::first_block_index_

Definition at line 1516 of file wasm-interpreter.h.

◆ if_block_params_

base::SmallVector<uint32_t, 4> v8::internal::wasm::WasmBytecodeGenerator::BlockData::if_block_params_

Definition at line 1521 of file wasm-interpreter.h.

◆ if_else_block_index_

int32_t v8::internal::wasm::WasmBytecodeGenerator::BlockData::if_else_block_index_

Definition at line 1513 of file wasm-interpreter.h.

◆ is_unreachable_

bool v8::internal::wasm::WasmBytecodeGenerator::BlockData::is_unreachable_

Definition at line 1520 of file wasm-interpreter.h.

◆ opcode_

WasmOpcode v8::internal::wasm::WasmBytecodeGenerator::BlockData::opcode_

Definition at line 1508 of file wasm-interpreter.h.

◆ params_slots_count_

uint32_t v8::internal::wasm::WasmBytecodeGenerator::BlockData::params_slots_count_

Definition at line 1518 of file wasm-interpreter.h.

◆ parent_block_index_

int32_t v8::internal::wasm::WasmBytecodeGenerator::BlockData::parent_block_index_

Definition at line 1512 of file wasm-interpreter.h.

◆ parent_try_block_index_

int32_t v8::internal::wasm::WasmBytecodeGenerator::BlockData::parent_try_block_index_

Definition at line 1519 of file wasm-interpreter.h.

◆ rets_slots_count_

uint32_t v8::internal::wasm::WasmBytecodeGenerator::BlockData::rets_slots_count_

Definition at line 1517 of file wasm-interpreter.h.

◆ signature_

WasmInstruction::Optional::Block v8::internal::wasm::WasmBytecodeGenerator::BlockData::signature_

Definition at line 1515 of file wasm-interpreter.h.

◆ stack_size_

uint32_t v8::internal::wasm::WasmBytecodeGenerator::BlockData::stack_size_

Definition at line 1509 of file wasm-interpreter.h.


The documentation for this struct was generated from the following file: