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

Method empty

cranelift/codegen/src/machinst/abi.rs:669–681  ·  view source on GitHub ↗

Creates an empty set of info with no clobbers/uses/etc with the specified ABI

(dest: T, call_conv: isa::CallConv)

Source from the content-addressed store, hash-verified

667 /// Creates an empty set of info with no clobbers/uses/etc with the
668 /// specified ABI
669 pub fn empty(dest: T, call_conv: isa::CallConv) -> CallInfo<T> {
670 CallInfo {
671 dest,
672 uses: smallvec![],
673 defs: smallvec![],
674 clobbers: PRegSet::empty(),
675 caller_conv: call_conv,
676 callee_conv: call_conv,
677 callee_pop_size: 0,
678 try_call_info: None,
679 patchable: false,
680 }
681 }
682}
683
684/// The id of an ABI signature within the `SigSet`.

Callers

nothing calls this directly

Calls 1

emptyFunction · 0.50

Tested by

no test coverage detected