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

Method all_branches_mut

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

The jump table and default block as a single mutable slice. The default block will always be first.

(&mut self)

Source from the content-addressed store, hash-verified

53 /// The jump table and default block as a single mutable slice. The default block will always
54 /// be first.
55 pub fn all_branches_mut(&mut self) -> &mut [BlockCall] {
56 self.table.as_mut_slice()
57 }
58
59 /// Access the jump table as a slice. This excludes the default block.
60 pub fn as_slice(&self) -> &[BlockCall] {

Callers 1

Calls 1

as_mut_sliceMethod · 0.45

Tested by

no test coverage detected