Skip to content

Commit 365de03

Browse files
committed
a
1 parent 1d665ee commit 365de03

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

zjit/src/hir.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8373,9 +8373,7 @@ fn compile_jit_entry_state(fun: &mut Function, jit_entry_block: BlockId, jit_ent
83738373
// is not eagerly populated. Spill every local to its EP slot here so subsequent getlocal/
83748374
// setlocal instructions, which always go through memory, see the correct values.
83758375
// kw_bits already lives in EP memory, so skip rewriting it.
8376-
if Some(local_idx) != kw_bits_idx {
8377-
fun.push_insn(jit_entry_block, Insn::SetLocal { val, ep_offset: ep_offset_u32, level: 0 });
8378-
}
8376+
fun.push_insn(jit_entry_block, Insn::SetLocal { val, ep_offset: ep_offset_u32, level: 0 });
83798377
entry_state.locals.push(val);
83808378
}
83818379
(self_param, entry_state)

0 commit comments

Comments
 (0)