MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / Context

Class Context

src/debug_utils/validate_func.rs:107–115  ·  view source on GitHub ↗

State used for validation.

Source from the content-addressed store, hash-verified

105
106/// State used for validation.
107struct 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
117impl<F: Function, R: RegInfo> Context<'_, F, R> {
118 /// Check that an entity refers to a valid object.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected