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

Method get_ret

cranelift/codegen/src/machinst/abi.rs:1003–1005  ·  view source on GitHub ↗

Get information specifying how to pass one return value.

(&self, sig: Sig, idx: usize)

Source from the content-addressed store, hash-verified

1001
1002 /// Get information specifying how to pass one return value.
1003 pub fn get_ret(&self, sig: Sig, idx: usize) -> ABIArg {
1004 self.rets(sig)[idx].clone()
1005 }
1006
1007 /// Get the number of arguments expected.
1008 pub fn num_args(&self, sig: Sig) -> usize {

Callers

nothing calls this directly

Calls 2

retsMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected