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

Method block

cranelift/codegen/src/ir/instructions.rs:87–90  ·  view source on GitHub ↗

Return the block for this BlockCall.

(&self, pool: &ValueListPool)

Source from the content-addressed store, hash-verified

85
86 /// Return the block for this BlockCall.
87 pub fn block(&self, pool: &ValueListPool) -> Block {
88 let val = self.values.first(pool).unwrap();
89 Self::value_to_block(val)
90 }
91
92 /// Replace the block for this BlockCall.
93 pub fn set_block(&mut self, block: Block, pool: &mut ValueListPool) {

Callers 15

buildMethod · 0.45
mutateMethod · 0.45
newMethod · 0.45
do_remove_constant_phisFunction · 0.45
map_block_callMethod · 0.45
split_off_return_blockFunction · 0.45
visit_block_succsFunction · 0.45
process_brifMethod · 0.45
block_successorsMethod · 0.45

Calls 2

unwrapMethod · 0.45
firstMethod · 0.45

Tested by

no test coverage detected