diff options
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index fb2ca371ed..1cb1e5664f 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1712,7 +1712,7 @@ vm_call_iseq_setup_tailcall(rb_execution_context_t *ec, rb_control_frame_t *cfp, iseq->body->stack_max); cfp->sp = sp_orig; - RUBY_VM_CHECK_INTS(rb_ec_thread_ptr(ec)); + RUBY_VM_CHECK_INTS(ec); return Qundef; } @@ -3284,7 +3284,7 @@ vm_once_dispatch(ISEQ iseq, IC ic, rb_thread_t *th) } else { /* waiting for finish */ - RUBY_VM_CHECK_INTS(th); + RUBY_VM_CHECK_INTS(th->ec); rb_thread_schedule(); goto again; } |