зеркало из https://github.com/github/ruby.git
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:
Родитель
91f353b1c3
Коммит
21dcf5d766
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче