regalloc bugfix
This commit is contained in:
parent
1788a42aa1
commit
4c90c8a4a8
|
@ -113,6 +113,7 @@ impl<'a> Context<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn handle_use(&mut self, live: &mut HashMap<Value, usize>, point: &mut usize, value: Value) {
|
fn handle_use(&mut self, live: &mut HashMap<Value, usize>, point: &mut usize, value: Value) {
|
||||||
|
let value = self.body.resolve_alias(value);
|
||||||
if self.trees.owner.contains_key(&value) {
|
if self.trees.owner.contains_key(&value) {
|
||||||
// If this is a treeified value, then don't process the use,
|
// If this is a treeified value, then don't process the use,
|
||||||
// but process the instruction directly here.
|
// but process the instruction directly here.
|
||||||
|
|
Loading…
Reference in a new issue