We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e471433 commit 76da67cCopy full SHA for 76da67c
cranelift/codegen/src/legalizer/mod.rs
@@ -55,8 +55,6 @@ pub fn simple_legalize(func: &mut ir::Function, isa: &dyn TargetIsa) {
55
trace!("Pre-legalization function:\n{}", func.display());
56
57
let mut pos = FuncCursor::new(func);
58
- let func_begin = pos.position();
59
- pos.set_position(func_begin);
60
while let Some(_block) = pos.next_block() {
61
let mut prev_pos = pos.position();
62
while let Some(inst) = pos.next_inst() {
0 commit comments