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

Method new

src/debug_utils/checker.rs:52–58  ·  view source on GitHub ↗
(output: &Output<'_, impl Function, impl RegInfo>)

Source from the content-addressed store, hash-verified

50
51impl CheckerState {
52 fn new(output: &Output<'_, impl Function, impl RegInfo>) -> Self {
53 Self {
54 unit_values: SparseMap::with_max_index(
55 output.stack_layout().num_spillslots() + MAX_REG_UNITS,
56 ),
57 }
58 }
59
60 /// Lattice meet operation when merging initial block states from multiple
61 /// predecessors. This only keeps the common subset of values between the

Callers

nothing calls this directly

Calls 2

num_spillslotsMethod · 0.80
stack_layoutMethod · 0.80

Tested by

no test coverage detected