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

Method is_reg

winch/codegen/src/abi/mod.rs:190–195  ·  view source on GitHub ↗

Is this [`ABIOperand`] in a register.

(&self)

Source from the content-addressed store, hash-verified

188
189 /// Is this [`ABIOperand`] in a register.
190 pub fn is_reg(&self) -> bool {
191 match *self {
192 ABIOperand::Reg { .. } => true,
193 _ => false,
194 }
195 }
196
197 /// Unwraps the underlying register if it is one.
198 ///

Callers 3

fromMethod · 0.45
adjust_stack_resultsMethod · 0.45
pop_to_regMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected