[−][src]Function cranelift_codegen::binemit::emit_function
pub fn emit_function<CS, EI>(func: &Function, emit_inst: EI, sink: &mut CS) where
CS: CodeSink,
EI: Fn(&Function, Inst, &mut RegDiversions, &mut CS),
Emit a function to sink
, given an instruction emitter function.
This function is called from the TargetIsa::emit_function()
implementations with the
appropriate instruction emitter.