From 957d1ccdf91941e57a62eeb695cf79e1af87876a Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 28 Jun 2017 06:09:06 +0000 Subject: move fields to ec. * vm_core.h (rb_thread_t): move root_lep, root_svar and ensure_list to rb_execution_context_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_core.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index 29cb0ad73a..d58130af07 100644 --- a/vm_core.h +++ b/vm_core.h @@ -751,6 +751,13 @@ typedef struct rb_thread_context_struct { st_table *local_storage; VALUE local_storage_recursive_hash; VALUE local_storage_recursive_hash_for_trace; + + /* eval env */ + const VALUE *root_lep; + VALUE root_svar; + + /* ensure & callcc */ + rb_ensure_list_t *ensure_list; } rb_execution_context_t; typedef struct rb_thread_struct { @@ -775,10 +782,6 @@ typedef struct rb_thread_struct { VALUE top_self; VALUE top_wrapper; - /* eval env */ - const VALUE *root_lep; - VALUE root_svar; - /* thread control */ rb_nativethread_id_t thread_id; #ifdef NON_SCALAR_THREAD_ID @@ -845,9 +848,6 @@ typedef struct rb_thread_struct { rb_fiber_t *root_fiber; rb_jmpbuf_t root_jmpbuf; - /* ensure & callcc */ - rb_ensure_list_t *ensure_list; - /* misc */ enum method_missing_reason method_missing_reason: 8; unsigned int abort_on_exception: 1; -- cgit v1.2.3