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

Method uses_special_return

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

Does this signature have a return whose `ArgumentPurpose` is `purpose`?

(&self, purpose: ArgumentPurpose)

Source from the content-addressed store, hash-verified

69
70 /// Does this signature have a return whose `ArgumentPurpose` is `purpose`?
71 pub fn uses_special_return(&self, purpose: ArgumentPurpose) -> bool {
72 self.special_return_index(purpose).is_some()
73 }
74
75 /// How many special parameters does this function have?
76 pub fn num_special_params(&self) -> usize {

Callers 3

from_func_sigMethod · 0.80
missing_struct_returnFunction · 0.80

Calls 2

special_return_indexMethod · 0.80
is_someMethod · 0.45

Tested by

no test coverage detected