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

Method is_if

winch/codegen/src/codegen/control.rs:1052–1057  ·  view source on GitHub ↗

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

(&self)

Source from the content-addressed store, hash-verified

1050
1051 /// Returns true if the current frame is [ControlStackFrame::If].
1052 pub fn is_if(&self) -> bool {
1053 match self {
1054 Self::If { .. } => true,
1055 _ => false,
1056 }
1057 }
1058
1059 /// Returns true if the current frame is [ControlStackFrame::Loop].
1060 pub fn is_loop(&self) -> bool {

Callers 1

initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected