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

Method is_loop

winch/codegen/src/codegen/control.rs:1060–1065  ·  view source on GitHub ↗

Returns true if the current frame is [ControlStackFrame::Loop].

(&self)

Source from the content-addressed store, hash-verified

1058
1059 /// Returns true if the current frame is [ControlStackFrame::Loop].
1060 pub fn is_loop(&self) -> bool {
1061 match self {
1062 Self::Loop { .. } => true,
1063 _ => false,
1064 }
1065 }
1066
1067 /// Returns true if the current stack pointer is unbalanced
1068 /// relative to the the expected control frame stack pointer

Callers 1

initMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected