Skip to content

Commit 03a9d07

Browse files
committed
ZJIT: Fix land race
1 parent fb5f10e commit 03a9d07

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

zjit/src/hir.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4769,7 +4769,6 @@ pub fn iseq_to_hir(iseq: *const rb_iseq_t) -> Result<Function, ParseError> {
47694769
// In this case, we side exit to the interpreter.
47704770
// TODO(Jacob): Replace the magic number 32 with a named constant. (Can be completed after PR 15039)
47714771
if unsafe {(*rb_get_iseq_body_param_keyword(iseq)).num >= 32} {
4772-
let exit_id = fun.push_insn(block, Insn::Snapshot {state: exit_state});
47734772
fun.push_insn(block, Insn::SideExit { state: exit_id, reason: SideExitReason::TooManyKeywordParameters });
47744773
break;
47754774
}

0 commit comments

Comments
 (0)