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

Method pop_control_frame

winch/codegen/src/codegen/mod.rs:257–261  ·  view source on GitHub ↗

Pops a control frame from the control frame stack.

(&mut self)

Source from the content-addressed store, hash-verified

255
256 /// Pops a control frame from the control frame stack.
257 pub fn pop_control_frame(&mut self) -> Result<ControlStackFrame> {
258 self.control_frames
259 .pop()
260 .ok_or_else(|| format_err!(CodeGenError::control_frame_expected()))
261 }
262
263 /// Derives a [RelSourceLoc] from a [SourceLoc].
264 pub fn source_loc_from(&mut self, loc: SourceLoc) -> RelSourceLoc {

Callers 2

visit_endMethod · 0.80

Calls 1

popMethod · 0.45

Tested by

no test coverage detected