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

Method visit_else

winch/codegen/src/visitor.rs:1824–1834  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1822 }
1823
1824 fn visit_else(&mut self) -> Self::Output {
1825 if !self.context.reachable {
1826 self.handle_unreachable_else()
1827 } else {
1828 let control = self
1829 .control_frames
1830 .last_mut()
1831 .ok_or_else(|| CodeGenError::control_frame_expected())?;
1832 control.emit_else(self.masm, &mut self.context)
1833 }
1834 }
1835
1836 fn visit_block(&mut self, blockty: BlockType) -> Self::Output {
1837 self.control_frames.push(ControlStackFrame::block(

Callers

nothing calls this directly

Calls 3

emit_elseMethod · 0.80
last_mutMethod · 0.45

Tested by

no test coverage detected