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

Method default_block

cranelift/codegen/src/ir/jumptable.rs:39–41  ·  view source on GitHub ↗

Fetch the default block for this jump table.

(&self)

Source from the content-addressed store, hash-verified

37
38 /// Fetch the default block for this jump table.
39 pub fn default_block(&self) -> BlockCall {
40 *self.table.first().unwrap()
41 }
42
43 /// Mutable access to the default block of this jump table.
44 pub fn default_block_mut(&mut self) -> &mut BlockCall {

Callers 4

stepFunction · 0.80
map_jump_tableMethod · 0.80
visit_block_succsFunction · 0.80

Calls 2

unwrapMethod · 0.45
firstMethod · 0.45

Tested by

no test coverage detected