diff --git a/src/ion/mod.rs b/src/ion/mod.rs index 2f86326..61664ff 100644 --- a/src/ion/mod.rs +++ b/src/ion/mod.rs @@ -4677,7 +4677,7 @@ impl<'a, F: Function> Env<'a, F> { let inst = Inst::new(inst); for (i, op) in this.func.inst_operands(inst).iter().enumerate() { match op.kind() { - OperandKind::Def | OperandKind::Use => { + OperandKind::Def | OperandKind::Mod => { let alloc = this.get_alloc(inst, i); redundant_moves.clear_alloc(alloc); }