![]() |
mutable
A Database System for Research and Fast Prototyping
|
A helper class to use a Block, thereby setting the Block active for code generation.
More...
#include <WasmDSL.hpp>
Public Member Functions | |
| BlockUser (Block &block) | |
| ~BlockUser () | |
Private Attributes | |
| Block & | block_ |
| the block to use (for code gen) | |
| ::wasm::Block * | old_block_ = nullptr |
| the previously active, now old block | |
A helper class to use a Block, thereby setting the Block active for code generation.
When the BlockUser is destructed, restores the previously active block for code generation.
Definition at line 1118 of file WasmDSL.hpp.
|
inline |
Definition at line 1125 of file WasmDSL.hpp.
References m::wasm::Block::this_block_.
|
inline |
Definition at line 1129 of file WasmDSL.hpp.
|
private |
the block to use (for code gen)
Definition at line 1121 of file WasmDSL.hpp.
|
private |
the previously active, now old block
Definition at line 1122 of file WasmDSL.hpp.