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

Class CheckerState

src/debug_utils/checker.rs:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40/// [regalloc2 checker]: https://github.com/bytecodealliance/regalloc2/blob/main/src/checker.rs
41#[derive(Debug, Clone)]
42struct 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
51impl CheckerState {
52 fn new(output: &Output<'_, impl Function, impl RegInfo>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected