Skip to content

Commit

Permalink
fixup! Optimise Select instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltratt committed Jan 17, 2025
1 parent 65d0425 commit 24342e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ykrt/src/compile/jitc_yk/jit_ir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ impl Module {
self.insts[usize::from(iidx)] = inst;
}

/// Replace the instruction it `iidx` with an instruction that will generate `op`. In other
/// Replace the instruction in `iidx` with an instruction that will generate `op`. In other
/// words, `Operand::Var(...)` will become `Inst::Copy` and `Operand::Const` will become
/// `Inst::Const`. This is a convenience function over [Self::replace].
pub(crate) fn replace_with_op(&mut self, iidx: InstIdx, op: Operand) {
Expand Down

0 comments on commit 24342e2

Please sign in to comment.