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

Method get_arg

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

Get information specifying how to pass one argument.

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

Source from the content-addressed store, hash-verified

987
988 /// Get information specifying how to pass one argument.
989 pub fn get_arg(&self, sig: Sig, idx: usize) -> ABIArg {
990 self.args(sig)[idx].clone()
991 }
992
993 /// Get this signature's ABI returns.
994 pub fn rets(&self, sig: Sig) -> &[ABIArg] {

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.45
argsMethod · 0.45

Tested by

no test coverage detected