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

Method gen_call_info

cranelift/codegen/src/machinst/lower.rs:685–703  ·  view source on GitHub ↗

Populate a `CallInfo` for a call with signature `sig`.

(
        &mut self,
        sig: Sig,
        dest: T,
        uses: CallArgList,
        defs: CallRetList,
        try_call_info: Option<TryCallInfo>,
        patchable: bool,
    )

Source from the content-addressed store, hash-verified

683
684 /// Populate a `CallInfo` for a call with signature `sig`.
685 pub fn gen_call_info<T>(
686 &mut self,
687 sig: Sig,
688 dest: T,
689 uses: CallArgList,
690 defs: CallRetList,
691 try_call_info: Option<TryCallInfo>,
692 patchable: bool,
693 ) -> CallInfo<T> {
694 self.vcode.abi().gen_call_info(
695 self.vcode.sigs(),
696 sig,
697 dest,
698 uses,
699 defs,
700 try_call_info,
701 patchable,
702 )
703 }
704
705 /// Has this instruction been sunk to a use-site (i.e., away from its
706 /// original location)?

Callers

nothing calls this directly

Calls 2

abiMethod · 0.45
sigsMethod · 0.45

Tested by

no test coverage detected