mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
m::wasm::branch_target_t Struct Reference

Stores the "branch targets" introduced by control flow structures, i.e. More...

#include <WasmDSL.hpp>

Collaboration diagram for m::wasm::branch_target_t:
[legend]

Public Member Functions

 branch_target_t (::wasm::Name brk, ::wasm::Name continu, ::wasm::Expression *condition)
 

Data Fields

::wasm::Name brk
 

‍the break target


 
::wasm::Name continu
 

‍the continue target


 
::wasm::Expression * condition = nullptr
 

‍the continue condition (may be nullptr if there is no condition)


 

Detailed Description

Stores the "branch targets" introduced by control flow structures, i.e.

loops.

The "break" target identifies the parent ::wasm::Block of the loop to break out of. The "continue" target identifies the ::wasm::Loop to reiterate.

Definition at line 388 of file WasmDSL.hpp.

Constructor & Destructor Documentation

◆ branch_target_t()

m::wasm::branch_target_t::branch_target_t ( ::wasm::Name  brk,
::wasm::Name  continu,
::wasm::Expression *  condition 
)
inline

Definition at line 397 of file WasmDSL.hpp.

Field Documentation

◆ brk

::wasm::Name m::wasm::branch_target_t::brk

‍the break target

Definition at line 391 of file WasmDSL.hpp.

◆ condition

::wasm::Expression* m::wasm::branch_target_t::condition = nullptr

‍the continue condition (may be nullptr if there is no condition)

Definition at line 395 of file WasmDSL.hpp.

◆ continu

::wasm::Name m::wasm::branch_target_t::continu

‍the continue target

Definition at line 393 of file WasmDSL.hpp.


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