Remove old commented out code

This commit is contained in:
Tyler McMullen
2019-04-13 00:15:52 -07:00
committed by Benjamin Bouvier
parent 1090dc5069
commit 4d427d7c71

View File

@@ -616,25 +616,6 @@ fn branch_opt(pos: &mut FuncCursor, inst: Inst) {
} else {
panic!();
}
/*
match info.kind {
BranchOptKind::EqualZero => {
let args = info.args.as_slice(&pos.func.dfg.value_lists)[1..].to_vec();
pos.func
.dfg
.replace(info.br_inst)
.brz(info.cmp_arg, info.destination, &args);
}
BranchOptKind::NotEqualZero => {
let args = info.args.as_slice(&pos.func.dfg.value_lists)[1..].to_vec();
pos.func
.dfg
.replace(info.br_inst)
.brnz(info.cmp_arg, info.destination, &args);
}
}
*/
}
struct BranchOrderInfo {