From 3f9702c42014381ce2368dcd0b2fb61112c5b5a0 Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 27 Oct 2017 01:13:35 +0000 Subject: refactoring (rb_|)threadptr_stack_overflow. * vm_insnhelper.c (ec_stack_overflow): renamed from threadptr_stack_overflow and also rb_ec_stack_overflow is from rb_threadptr_stack_overflow because they accept `ec` instead of `th`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_eval.c') diff --git a/vm_eval.c b/vm_eval.c index 7647e115ef..bc8ca02790 100644 --- a/vm_eval.c +++ b/vm_eval.c @@ -258,7 +258,7 @@ stack_check(rb_thread_t *th) if (!rb_thread_raised_p(th, RAISED_STACKOVERFLOW) && rb_threadptr_stack_check(th)) { rb_thread_raised_set(th, RAISED_STACKOVERFLOW); - rb_threadptr_stack_overflow(th, FALSE); + rb_ec_stack_overflow(th->ec, FALSE); } } -- cgit v1.2.3