| 40 | /// [regalloc2 checker]: https://github.com/bytecodealliance/regalloc2/blob/main/src/checker.rs |
| 41 | #[derive(Debug, Clone)] |
| 42 | struct CheckerState { |
| 43 | /// This is internally represented by a set of values for each |
| 44 | /// `AllocationUnit`. |
| 45 | /// |
| 46 | /// A vacant entry in the `SparseMap` is logically equivalent to a present |
| 47 | /// entry with an empty value set. |
| 48 | unit_values: SparseMap<AllocationUnit, CheckerValueSet>, |
| 49 | } |
| 50 | |
| 51 | impl CheckerState { |
| 52 | fn new(output: &Output<'_, impl Function, impl RegInfo>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected