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

Method branch_blockparams

cranelift/codegen/src/machinst/vcode.rs:1567–1572  ·  view source on GitHub ↗
(&self, block: BlockIndex, _insn: InsnIndex, succ_idx: usize)

Source from the content-addressed store, hash-verified

1565 }
1566
1567 fn branch_blockparams(&self, block: BlockIndex, _insn: InsnIndex, succ_idx: usize) -> &[VReg] {
1568 let succ_range = self.branch_block_arg_succ_range.get(block.index());
1569 debug_assert!(succ_idx < succ_range.len());
1570 let branch_block_args = self.branch_block_arg_range.get(succ_range.start + succ_idx);
1571 &self.branch_block_args[branch_block_args]
1572 }
1573
1574 fn is_ret(&self, insn: InsnIndex) -> bool {
1575 match self.insts[insn.index()].is_term() {

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected