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

Method is_multi_return

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

Does this return more than one normal value? (Pre-struct return legalization)

(&self)

Source from the content-addressed store, hash-verified

96 /// Does this return more than one normal value? (Pre-struct return
97 /// legalization)
98 pub fn is_multi_return(&self) -> bool {
99 self.returns
100 .iter()
101 .filter(|r| r.purpose == ArgumentPurpose::Normal)
102 .count()
103 > 1
104 }
105}
106
107fn write_list(f: &mut fmt::Formatter, args: &[AbiParam]) -> fmt::Result {

Callers

nothing calls this directly

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected