Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
more
  • Loading branch information
ShaharNaveh committed Apr 15, 2026
commit aef533b941ff085ad121a538e8a03a81bca2311e
8 changes: 4 additions & 4 deletions crates/codegen/src/ir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1338,15 +1338,15 @@ impl CodeInfo {
}
match n {
1 => {
instructions[i].instr = AnyInstruction::Real(Instruction::Nop);
instructions[i].instr = Opcode::Nop.into();
instructions[i].arg = OpArg::new(0);
instructions[i + 1].instr = AnyInstruction::Real(Instruction::Nop);
instructions[i + 1].instr = Opcode::Nop.into();
instructions[i + 1].arg = OpArg::new(0);
}
2 | 3 => {
instructions[i].instr = AnyInstruction::Real(Instruction::Nop);
instructions[i].instr = Opcode::Nop.into();
instructions[i].arg = OpArg::new(0);
instructions[i + 1].instr = AnyInstruction::Real(Opcode::Swap.into());
instructions[i + 1].instr = Opcode::Swap.into();
instructions[i + 1].arg = OpArg::new(n);
}
_ => {}
Expand Down
Loading