YJIT: Check interrupts on frame pop (#7248)

YJIT: Skip gen_check_ints on ISEQ send

On the interpreter, vm_push_frame doesn't check interrupts. Only
vm_pop_frame does.
This commit is contained in:
Takashi Kokubun 2023-02-06 07:29:41 -08:00 committed by GitHub
parent 91f353b1c3
commit 21dcf5d766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2023-02-06 15:30:02 +00:00
Merged-By: maximecb <maximecb@ruby-lang.org>

View File

@ -5300,9 +5300,6 @@ fn gen_send_iseq(
// Number of locals that are not parameters
let num_locals = unsafe { get_iseq_body_local_table_size(iseq) as i32 } - (num_params as i32);
// Check for interrupts
gen_check_ints(asm, side_exit);
match block_arg_type {
Some(Type::Nil) => {
// We have a nil block arg, so let's pop it off the args