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

Method next_gpr

winch/codegen/src/isa/mod.rs:285–289  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

283
284impl RegIndexEnv {
285 fn next_gpr(&mut self) -> Option<u8> {
286 (self.int.index < self.int.limit)
287 .then(|| Self::increment(&mut self.int.index))
288 .flatten()
289 }
290
291 fn next_fpr(&mut self) -> Option<u8> {
292 if let Some(f) = self.float.as_mut() {

Callers 3

next_fprMethod · 0.80
to_abi_operandMethod · 0.80
to_abi_operandMethod · 0.80

Calls 1

flattenMethod · 0.80

Tested by

no test coverage detected