State used for validation.
| 105 | |
| 106 | /// State used for validation. |
| 107 | struct Context<'a, F, R> { |
| 108 | func: &'a F, |
| 109 | reginfo: &'a R, |
| 110 | value_defs: SecondaryMap<Value, Option<ValueDef>>, |
| 111 | early_fixed: RegUnitSet, |
| 112 | late_fixed: RegUnitSet, |
| 113 | reuse_targets: Vec<usize>, |
| 114 | domtree: DominatorTree, |
| 115 | } |
| 116 | |
| 117 | impl<F: Function, R: RegInfo> Context<'_, F, R> { |
| 118 | /// Check that an entity refers to a valid object. |
nothing calls this directly
no outgoing calls
no test coverage detected