From 8e037913733b49a788586c24fd97d2d616e42e42 Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 8 Sep 2017 06:21:30 +0000 Subject: move th->fiber to ec->fiber. * vm_core.h (rb_thread_t::fiber): move fiber field to rb_execution_context_t::fiber. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_core.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index 3d44a3abef..a2ca6342cf 100644 --- a/vm_core.h +++ b/vm_core.h @@ -765,6 +765,8 @@ typedef struct rb_execution_context_struct { /* ensure & callcc */ rb_ensure_list_t *ensure_list; + + rb_fiber_t *fiber; } rb_execution_context_t; typedef struct rb_thread_struct { @@ -847,7 +849,6 @@ typedef struct rb_thread_struct { rb_hook_list_t event_hooks; /* fiber */ - rb_fiber_t *fiber; rb_fiber_t *root_fiber; rb_jmpbuf_t root_jmpbuf; -- cgit v1.2.3