diff options
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; |