Skip to main content

compile

Function compile 

Source
pub fn compile(
    source: &Func,
    names: &mut Interner,
    machine: &Machine,
    flags: Flags,
) -> Result<Func, Unsupported>
Expand description

Compiles one function, from the IR the middle end produced to machine instructions.

ยงErrors

The first thing in it this cannot lower, which is what lower::func reports and is the only pass here that can refuse a function. Everything after lowering works on machine instructions that exist, so it either runs or it is a bug in this crate.