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

Method num_special_params

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

How many special parameters does this function have?

(&self)

Source from the content-addressed store, hash-verified

74
75 /// How many special parameters does this function have?
76 pub fn num_special_params(&self) -> usize {
77 self.params
78 .iter()
79 .filter(|p| p.purpose != ArgumentPurpose::Normal)
80 .count()
81 }
82
83 /// How many special returns does this function have?
84 pub fn num_special_returns(&self) -> usize {

Callers

nothing calls this directly

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected