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

Method save_values

src/debug_utils/checker.rs:136–138  ·  view source on GitHub ↗

Saves the set of values held in an `AllocationUnit` in a way that can be losslessly restored later.

(&self, unit: AllocationUnit)

Source from the content-addressed store, hash-verified

134 /// Saves the set of values held in an `AllocationUnit` in a way that can be
135 /// losslessly restored later.
136 fn save_values(&self, unit: AllocationUnit) -> CheckerValueSet {
137 self.unit_values.get(unit).cloned().unwrap_or_default()
138 }
139
140 /// Restores the set of values held in an `AllocationUnit` that were
141 /// previously saved by `save_values`.

Callers 1

check_instMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected