MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / fill_current_block

Method fill_current_block

cranelift/frontend/src/frontend.rs:1170–1172  ·  view source on GitHub ↗

A Block is 'filled' when a terminator instruction is present.

(&mut self)

Source from the content-addressed store, hash-verified

1168impl<'a> FunctionBuilder<'a> {
1169 /// A Block is 'filled' when a terminator instruction is present.
1170 fn fill_current_block(&mut self) {
1171 self.func_ctx.status[self.position.unwrap()] = BlockStatus::Filled;
1172 }
1173
1174 fn declare_successor(&mut self, dest_block: Block, jump_inst: Inst) {
1175 self.func_ctx

Callers 1

buildMethod · 0.80

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected