Remove unnecessary braces around assigned value in simple_preopt
Removes unnecessary braces that is causing compilation failure in a test scenario.
This commit is contained in:
committed by
Benjamin Bouvier
parent
1a0325014f
commit
9e11e8d019
@@ -902,8 +902,8 @@ fn branch_order(pos: &mut FuncCursor, cfg: &mut ControlFlowGraph, block: Block,
|
||||
_ => return,
|
||||
};
|
||||
|
||||
let cond_args = { cond_inst_args.as_slice(&pos.func.dfg.value_lists).to_vec() };
|
||||
let term_args = { term_inst_args.as_slice(&pos.func.dfg.value_lists).to_vec() };
|
||||
let cond_args = cond_inst_args.as_slice(&pos.func.dfg.value_lists).to_vec();
|
||||
let term_args = term_inst_args.as_slice(&pos.func.dfg.value_lists).to_vec();
|
||||
|
||||
match kind {
|
||||
BranchOrderKind::BrnzToBrz(cond_arg) => {
|
||||
|
||||
Reference in New Issue
Block a user