Function get_fn

Source
pub(crate) fn get_fn<'ll, 'tcx>(
    cx: &GenericCx<'ll, FullCx<'ll, 'tcx>>,
    instance: Instance<'tcx>,
) -> &'ll Value
Expand description

Codegens a reference to a fn/method item, monomorphizing and inlining as it goes.