Remove some dbg! invocations
This commit is contained in:
@@ -91,14 +91,10 @@ fn legalize_inst(
|
|||||||
assert_eq!(res.len(), 2);
|
assert_eq!(res.len(), 2);
|
||||||
let (resl, resh) = (res[0], res[1]); // Prevent borrowck error
|
let (resl, resh) = (res[0], res[1]); // Prevent borrowck error
|
||||||
|
|
||||||
dbg!(pos.position());
|
|
||||||
|
|
||||||
// Remove old isplit
|
// Remove old isplit
|
||||||
pos.func.dfg.clear_results(inst);
|
pos.func.dfg.clear_results(inst);
|
||||||
pos.remove_inst();
|
pos.remove_inst();
|
||||||
|
|
||||||
dbg!(pos.position());
|
|
||||||
|
|
||||||
let curpos = pos.position();
|
let curpos = pos.position();
|
||||||
let srcloc = pos.srcloc();
|
let srcloc = pos.srcloc();
|
||||||
let (xl, xh) = split::isplit(pos.func, cfg, curpos, srcloc, arg);
|
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(resl, xl);
|
||||||
pos.func.dfg.change_to_alias(resh, xh);
|
pos.func.dfg.change_to_alias(resh, xh);
|
||||||
|
|
||||||
dbg!(&pos.func);
|
|
||||||
|
|
||||||
return LegalizeInstResult::Legalized;
|
return LegalizeInstResult::Legalized;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user