[−][src]Function rustc_codegen_llvm::callee::get_fn
pub fn get_fn<'ll, 'tcx>(
cx: &CodegenCx<'ll, 'tcx>,
instance: Instance<'tcx>
) -> &'ll Value
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Codegens a reference to a fn/method item, monomorphizing and inlining as it goes.
Parameters
cx
: the crate contextinstance
: the instance to be instantiated