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

Method is_mem

winch/codegen/src/stack.rs:182–187  ·  view source on GitHub ↗

Check whether the value is a memory offset.

(&self)

Source from the content-addressed store, hash-verified

180
181 /// Check whether the value is a memory offset.
182 pub fn is_mem(&self) -> bool {
183 match *self {
184 Self::Memory(_) => true,
185 _ => false,
186 }
187 }
188
189 /// Check whether the value is a constant.
190 pub fn is_const(&self) -> bool {

Callers 3

contains_latent_localMethod · 0.45
sizeofMethod · 0.45
pop_to_regMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected