aboutsummaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-06 05:41:48 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-06 05:41:48 +0000
commit6f98db1b75657192a910283de97531c9d29a10d7 (patch)
tree0cc3302d269376c8031bcd97c73e5afd30b1632c /vm_core.h
parent14543d0d8d0e61ea9311ad282b65eb3835d65e22 (diff)
downloadruby-6f98db1b75657192a910283de97531c9d29a10d7.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.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/vm_core.h b/vm_core.h
index 7c0d64b193..8bbf95f4cd 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -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 {