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

Method num_special_returns

cranelift/codegen/src/ir/extfunc.rs:84–89  ·  view source on GitHub ↗

How many special returns does this function have?

(&self)

Source from the content-addressed store, hash-verified

82
83 /// How many special returns does this function have?
84 pub fn num_special_returns(&self) -> usize {
85 self.returns
86 .iter()
87 .filter(|r| r.purpose != ArgumentPurpose::Normal)
88 .count()
89 }
90
91 /// Does this signature take an struct return pointer parameter?
92 pub fn uses_struct_return_param(&self) -> bool {

Callers

nothing calls this directly

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected