Function cairo_lang_lowering::optimizations::delay_var_def::delay_var_def
source · pub fn delay_var_def(lowered: &mut FlatLowered)
Expand description
Moves var definitions closer to their usage point and removes unused var. Currently only moves consts and empty structs. Remove unnessary remapping before this optimization will result in better code.