Remove some dbg! invocations

This commit is contained in:
bjorn3
2019-06-29 16:44:07 +02:00
committed by Dan Gohman
parent 762b5e494b
commit c7a8b6c9e5

View File

@@ -91,14 +91,10 @@ fn legalize_inst(
assert_eq!(res.len(), 2);
let (resl, resh) = (res[0], res[1]); // Prevent borrowck error
dbg!(pos.position());
// Remove old isplit
pos.func.dfg.clear_results(inst);
pos.remove_inst();
dbg!(pos.position());
let curpos = pos.position();
let srcloc = pos.srcloc();
let (xl, xh) = split::isplit(pos.func, cfg, curpos, srcloc, arg);
@@ -106,8 +102,6 @@ fn legalize_inst(
pos.func.dfg.change_to_alias(resl, xl);
pos.func.dfg.change_to_alias(resh, xh);
dbg!(&pos.func);
return LegalizeInstResult::Legalized;
}