fn state_list<M: Module>( emitter: &mut Emitter<M>, shared: &mut Shared<'_>, inits: &[FuncId], ) -> Result<List, CodegenError>