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:
parent
91f353b1c3
commit
21dcf5d766
Notes:
git
2023-02-06 15:30:02 +00:00
Merged-By: maximecb <maximecb@ruby-lang.org>
@ -5300,9 +5300,6 @@ fn gen_send_iseq(
|
|||||||
// Number of locals that are not parameters
|
// Number of locals that are not parameters
|
||||||
let num_locals = unsafe { get_iseq_body_local_table_size(iseq) as i32 } - (num_params as i32);
|
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 {
|
match block_arg_type {
|
||||||
Some(Type::Nil) => {
|
Some(Type::Nil) => {
|
||||||
// We have a nil block arg, so let's pop it off the args
|
// We have a nil block arg, so let's pop it off the args
|
||||||
|
Loading…
x
Reference in New Issue
Block a user