Regalloc: remove the transient LiveRangeContext data structure;
This commit is contained in:
@@ -191,7 +191,6 @@ impl LiveValueTracker {
|
||||
.idom_sets
|
||||
.get(&idom)
|
||||
.expect("No stored live set for dominator");
|
||||
let ctx = liveness.context(layout);
|
||||
// Get just the values that are live-in to `ebb`.
|
||||
for &value in idom_live_list.as_slice(&self.idom_pool) {
|
||||
let lr = liveness
|
||||
@@ -199,7 +198,7 @@ impl LiveValueTracker {
|
||||
.expect("Immediate dominator value has no live range");
|
||||
|
||||
// Check if this value is live-in here.
|
||||
if let Some(endpoint) = lr.livein_local_end(ebb, ctx) {
|
||||
if let Some(endpoint) = lr.livein_local_end(ebb, liveness.forest(), layout) {
|
||||
self.live.push(value, endpoint, lr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user