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

Method visit_br

winch/codegen/src/visitor.rs:1857–1866  ·  view source on GitHub ↗
(&mut self, depth: u32)

Source from the content-addressed store, hash-verified

1855 }
1856
1857 fn visit_br(&mut self, depth: u32) -> Self::Output {
1858 let index = control_index(depth, self.control_frames.len())?;
1859 let frame = &mut self.control_frames[index];
1860 self.context
1861 .br::<_, _, UnconditionalBranch>(frame, self.masm, |masm, cx, frame| {
1862 frame.pop_abi_results::<M, _>(cx, masm, |results, _, _| {
1863 Ok(results.ret_area().copied())
1864 })
1865 })
1866 }
1867
1868 fn visit_br_if(&mut self, depth: u32) -> Self::Output {
1869 let index = control_index(depth, self.control_frames.len())?;

Callers

nothing calls this directly

Calls 5

control_indexFunction · 0.85
OkFunction · 0.85
copiedMethod · 0.80
ret_areaMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected