diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-17 02:08:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-17 02:08:41 +0000 |
commit | e97ac02f8466275732a33f704480c03da722f485 (patch) | |
tree | a39fb1712d7a18a31963649e24f36d5f32128e8a /thread.c | |
parent | 158c742b51556ff416d2934fcb215ef77e7d0c7e (diff) | |
download | ruby-e97ac02f8466275732a33f704480c03da722f485.tar.gz |
vm_insnhelper.c: rb_threadptr_stack_overflow
* vm_insnhelper.c (rb_threadptr_stack_overflow): move from
thread.c and integrate with vm_stackoverflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -2165,20 +2165,6 @@ rb_threadptr_signal_exit(rb_thread_t *th) #define USE_SIGALTSTACK #endif -NORETURN(void ruby_thread_stack_overflow(rb_thread_t *th)); -void -ruby_thread_stack_overflow(rb_thread_t *th) -{ - th->raised_flag = 0; -#ifdef USE_SIGALTSTACK - if (!rb_threadptr_during_gc(th)) { - rb_exc_raise(sysstack_error); - } -#endif - th->errinfo = sysstack_error; - TH_JUMP_TAG(th, TAG_RAISE); -} - int rb_threadptr_set_raised(rb_thread_t *th) { |