Skip to main content

optimize

Function optimize 

Source
pub fn optimize(ast: &mut AST)
Expand description

Runs every CFG optimization on a single CFG built from the AST, then writes the result back once: dead-function elimination, then the ALU32 extension and signed division fix-ups.