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

Method stack_operands_len

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

Returns the length of results on the stack.

(&self)

Source from the content-addressed store, hash-verified

388
389 /// Returns the length of results on the stack.
390 pub fn stack_operands_len(&self) -> usize {
391 self.operands().len() - self.regs().len()
392 }
393
394 /// Get the [`ABIOperand`] result in the nth position.
395 #[cfg(test)]

Callers 2

visit_br_ifMethod · 0.80
adjust_stack_resultsMethod · 0.80

Calls 3

lenMethod · 0.45
operandsMethod · 0.45
regsMethod · 0.45

Tested by

no test coverage detected