Skip to content

Commit

Permalink
Kill spurious scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
vext01 committed Feb 21, 2024
1 parent 3eb9bac commit 68e38c7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ykrt/src/compile/jitc_yk/codegen/x86_64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,7 @@ impl<'a> X64CodeGen<'a> {
}

fn codegen_load_instr(&mut self, inst_idx: jit_ir::InstrIdx, inst: &jit_ir::LoadInstruction) {
{
self.operand_into_reg(WR0, &inst.operand());
}
self.operand_into_reg(WR0, &inst.operand());
let size = inst_idx.instr(self.jit_mod).def_abi_size();
debug_assert!(size <= REG64_SIZE);
match size {
Expand Down

0 comments on commit 68e38c7

Please sign in to comment.