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

Method is_reg

winch/codegen/src/stack.rs:174–179  ·  view source on GitHub ↗

Check whether the value is a register.

(&self)

Source from the content-addressed store, hash-verified

172
173 /// Check whether the value is a register.
174 pub fn is_reg(&self) -> bool {
175 match *self {
176 Self::Reg(_) => true,
177 _ => false,
178 }
179 }
180
181 /// Check whether the value is a memory offset.
182 pub fn is_mem(&self) -> bool {

Callers 2

pop_regMethod · 0.45
pop_named_regMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected