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

Method new

winch/codegen/src/abi/mod.rs:368–371  ·  view source on GitHub ↗

Create a new [`ABIResults`] from [`ABIOperands`].

(operands: ABIOperands)

Source from the content-addressed store, hash-verified

366
367 /// Create a new [`ABIResults`] from [`ABIOperands`].
368 pub fn new(operands: ABIOperands) -> Self {
369 let ret_area = (operands.bytes > 0).then(|| RetArea::default());
370 Self { operands, ret_area }
371 }
372
373 /// Returns a reference to a [HashSet<Reg>], which includes
374 /// all the registers used to hold function results.

Callers

nothing calls this directly

Calls 3

collectMethod · 0.80
copiedMethod · 0.80
unionMethod · 0.80

Tested by

no test coverage detected