diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-28 06:09:06 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-28 06:09:06 +0000 |
commit | 957d1ccdf91941e57a62eeb695cf79e1af87876a (patch) | |
tree | ca82878bbdd5d4bedb58bf7102b3513eb2d53f8d /vm_core.h | |
parent | 7c7d74365deaa41f3df5d7bb1969b477a3d937f4 (diff) |
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
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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; |