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

Method add_succ

cranelift/codegen/src/machinst/vcode.rs:371–374  ·  view source on GitHub ↗

Add a successor block with branch args.

(&mut self, block: BlockIndex, args: &[Reg])

Source from the content-addressed store, hash-verified

369
370 /// Add a successor block with branch args.
371 pub fn add_succ(&mut self, block: BlockIndex, args: &[Reg]) {
372 self.vcode.block_succs.push(block);
373 self.add_branch_args_for_succ(args);
374 }
375
376 /// Add a debug value label to a register.
377 pub fn add_value_label(&mut self, reg: Reg, label: ValueLabel) {

Callers 1

Calls 2

pushMethod · 0.45

Tested by

no test coverage detected