| 69 | #[derive(Clone)] |
| 70 | #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] |
| 71 | pub struct GenericFunction { |
| 72 | entry_points: Vec<Block>, |
| 73 | blocks: PrimaryMap<Block, BlockData>, |
| 74 | insts: PrimaryMap<Inst, InstData>, |
| 75 | values: PrimaryMap<Value, ValueData>, |
| 76 | value_groups: PrimaryMap<ValueGroup, Vec<Value>>, |
| 77 | } |
| 78 | |
| 79 | impl fmt::Debug for GenericFunction { |
| 80 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
nothing calls this directly
no outgoing calls
no test coverage detected