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

Method is_local_at_index

winch/codegen/src/stack.rs:198–203  ·  view source on GitHub ↗

Check whether the value is local with a particular index.

(&self, index: u32)

Source from the content-addressed store, hash-verified

196
197 /// Check whether the value is local with a particular index.
198 pub fn is_local_at_index(&self, index: u32) -> bool {
199 match *self {
200 Self::Local(Local { index: i, .. }) if i == index => true,
201 _ => false,
202 }
203 }
204
205 /// Get the register representation of the value.
206 ///

Callers 1

contains_latent_localMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected