Skip to content

Commit 0c2788d

Browse files
committed
Revert "a"
This reverts commit 365de03.
1 parent 6c86465 commit 0c2788d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

zjit/src/hir.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8256,7 +8256,9 @@ fn compile_jit_entry_state(fun: &mut Function, jit_entry_block: BlockId, jit_ent
82568256
// is not eagerly populated. Spill every local to its EP slot here so subsequent getlocal/
82578257
// setlocal instructions, which always go through memory, see the correct values.
82588258
// kw_bits already lives in EP memory, so skip rewriting it.
8259-
fun.push_insn(jit_entry_block, Insn::SetLocal { val, ep_offset: ep_offset_u32, level: 0 });
8259+
if Some(local_idx) != kw_bits_idx {
8260+
fun.push_insn(jit_entry_block, Insn::SetLocal { val, ep_offset: ep_offset_u32, level: 0 });
8261+
}
82608262
entry_state.locals.push(val);
82618263
}
82628264
(self_param, entry_state)

0 commit comments

Comments
 (0)