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

Method restore_values

src/debug_utils/checker.rs:142–144  ·  view source on GitHub ↗

Restores the set of values held in an `AllocationUnit` that were previously saved by `save_values`.

(&mut self, unit: AllocationUnit, values: &CheckerValueSet)

Source from the content-addressed store, hash-verified

140 /// Restores the set of values held in an `AllocationUnit` that were
141 /// previously saved by `save_values`.
142 fn restore_values(&mut self, unit: AllocationUnit, values: &CheckerValueSet) {
143 self.unit_values.entry(unit).or_default().clone_from(values);
144 }
145}
146
147impl fmt::Display for CheckerState {

Callers 1

check_instMethod · 0.80

Calls 3

clone_fromMethod · 0.80
or_defaultMethod · 0.80
entryMethod · 0.80

Tested by

no test coverage detected