pub enum InlineCommand<'a> {
KeepCall,
Inline {
callee: Cow<'a, Function>,
visit_callee: bool,
},
}Expand description
A command directing Cranelift whether or not to inline a particular call.
Variants§
KeepCall
Keep the call as-is, out-of-line, and do not inline the callee.
Inline
Inline the call, using this function as the body of the callee.
It is the Inline implementor’s responsibility to ensure that this
function is the correct callee. Providing the wrong function may result
in panics during compilation or incorrect runtime behavior.