This commit is contained in:
bjorn3
2019-06-17 20:26:37 +02:00
committed by Dan Gohman
parent 6f7d57a71f
commit f04b334b20

View File

@@ -61,10 +61,7 @@ fn legalize_inst(
pos.use_srcloc(inst); pos.use_srcloc(inst);
let arg = match pos.func.dfg[inst] { let arg = match pos.func.dfg[inst] {
ir::InstructionData::Unary { ir::InstructionData::Unary { arg, .. } => pos.func.dfg.resolve_aliases(arg),
arg,
..
} => pos.func.dfg.resolve_aliases(arg),
_ => panic!("Expected isplit: {}", pos.func.dfg.display_inst(inst, None)), _ => panic!("Expected isplit: {}", pos.func.dfg.display_inst(inst, None)),
}; };