Skip to main content

compile_function

Function compile_function 

Source
fn compile_function<M: Module>(
    emitter: &mut Emitter<M>,
    shared: &mut Shared<'_>,
    function: &FnDef,
    id: FuncId,
) -> Result<(), CodegenError>
Expand description

Arguments come in owned, into the first locals; a function releases its locals when it returns.