diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-28 10:01:54 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-28 10:01:54 +0000 |
commit | f8a9d044f416e04e0c340fe77bf5c603fc753ff2 (patch) | |
tree | df3d94237a6d12d099e235ba62bb743549b5b1b4 /vm_core.h | |
parent | e6f133b66aa705d1022dcb8dbe48cf93acec519b (diff) | |
download | ruby-f8a9d044f416e04e0c340fe77bf5c603fc753ff2.tar.gz |
move fields from `th` to `ec`.
* vm_core.h: move rb_thread_t::passed_block_handler to
rb_execution_context_t::passed_block_handler.
Also move rb_thread_t::passed_bmethod_me to
rb_execution_context_t::passed_bmethod_me.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -765,6 +765,12 @@ typedef struct rb_execution_context_struct { rb_fiber_t *fiber; + /* for rb_iterate */ + VALUE passed_block_handler; + + /* for bmethod */ + const rb_callable_method_entry_t *passed_bmethod_me; + /* for GC */ struct { VALUE *stack_start; @@ -790,12 +796,6 @@ typedef struct rb_thread_struct { VALUE last_status; /* $? */ - /* for rb_iterate */ - VALUE passed_block_handler; - - /* for bmethod */ - const rb_callable_method_entry_t *passed_bmethod_me; - /* for cfunc */ struct rb_calling_info *calling; |