cairo_lang_lowering::optimizations::match_optimizer

Function optimize_matches

Source
pub fn optimize_matches(lowered: &mut FlatLowered)
Expand description

Optimizes Statement::EnumConstruct that is followed by a match to jump to the target of the relevant match arm.