summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-02-06 07:29:41 -0800
committerGitHub <noreply@github.com>2023-02-06 10:29:41 -0500
commit21dcf5d766befb46c5acffd174f507836e93504c (patch)
treee9820b8fb64429a93ad76cc4d40806d977e783c5
parent91f353b1c3c81f101e0421f8a000f414aecad2dc (diff)
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.
Notes
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
-rw-r--r--yjit/src/codegen.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs
index 58f9088cf9..dad8b8b389 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -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