cairo_lang_lowering::optimizations::split_structs

Function split_structs

source
pub fn split_structs(lowered: &mut FlatLowered)
Expand description

Splits all the variables that were created by struct_construct and reintroduces the struct_construct statement when needed.

Note that if a member is used after the struct then is means that that struct is copyable.