diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-06 05:41:48 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-06 05:41:48 +0000 |
commit | e5e735549db7f678cf0174d4103df8c98651da36 (patch) | |
tree | 0cc3302d269376c8031bcd97c73e5afd30b1632c /vm_core.h | |
parent | 54e58c947b119ff02fde57413ae104c98432c48d (diff) | |
download | ruby-e5e735549db7f678cf0174d4103df8c98651da36.tar.gz |
renmae ec::fiber to ec::fiber_ptr.
* vm_core.h (rb_execution_context_t): renmae ec::fiber to
ec::fiber_ptr make consistent with ec::thread_ptr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 21 |
1 files changed, 8 insertions, 13 deletions
@@ -745,8 +745,8 @@ typedef struct rb_execution_context_struct { int safe_level; int raised_flag; - /* temporary place of errinfo */ - VALUE errinfo; + rb_fiber_t *fiber_ptr; + struct rb_thread_struct *thread_ptr; /* storage (ec (fiber) local) */ st_table *local_storage; @@ -757,21 +757,16 @@ typedef struct rb_execution_context_struct { const VALUE *root_lep; VALUE root_svar; - /* trace information */ - struct rb_trace_arg_struct *trace_arg; - /* ensure & callcc */ rb_ensure_list_t *ensure_list; - rb_fiber_t *fiber; - - /* for rb_iterate */ - VALUE passed_block_handler; - - /* for bmethod */ - const rb_callable_method_entry_t *passed_bmethod_me; + /* trace information */ + struct rb_trace_arg_struct *trace_arg; - struct rb_thread_struct *thread_ptr; + /* temporary places */ + VALUE errinfo; + VALUE passed_block_handler; /* for rb_iterate */ + const rb_callable_method_entry_t *passed_bmethod_me; /* for bmethod */ /* for GC */ struct { |