summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h14
1 files changed, 7 insertions, 7 deletions
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;