Function rustc_codegen_llvm::callee::get_fn
source · pub fn get_fn<'ll, 'tcx>(
cx: &CodegenCx<'ll, 'tcx>,
instance: Instance<'tcx>,
) -> &'ll Value
Expand description
Codegens a reference to a fn/method item, monomorphizing and inlining as it goes.
§Parameters
cx
: the crate contextinstance
: the instance to be instantiated