Skip to main content

code_layout

Function code_layout 

Source
pub fn code_layout(
    program: &CompiledProgram,
) -> Result<CodeLayout, &'static str>
Expand description

Resolve the CodeLayout: a MakeClosure target is a closure body spanning [entry, jump-over target); the regular functions are the entry-sorted tail after Main. Err names a closure body with no jump-over, which no compiler output has.