cranelift: Remove brz and brnz (#5630)
Remove the brz and brnz instructions, as their behavior is now redundant with brif.
This commit is contained in:
@@ -465,11 +465,7 @@ impl<'a> Elaborator<'a> {
|
||||
));
|
||||
// Determine the instruction at which we
|
||||
// insert in `data.hoist_block`.
|
||||
let before = self
|
||||
.func
|
||||
.layout
|
||||
.canonical_branch_inst(&self.func.dfg, data.hoist_block)
|
||||
.unwrap();
|
||||
let before = self.func.layout.last_inst(data.hoist_block).unwrap();
|
||||
(data.scope_depth as usize, before, data.hoist_block)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user