diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-28 06:09:06 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-28 06:09:06 +0000 |
commit | 42b9397bd3fb92299c92fa8e9d491867de6f0c56 (patch) | |
tree | ca82878bbdd5d4bedb58bf7102b3513eb2d53f8d /thread.c | |
parent | e4741116c27a0a9edf7370860510514ddd9eb572 (diff) | |
download | ruby-42b9397bd3fb92299c92fa8e9d491867de6f0c56.tar.gz |
move fields to ec.
* vm_core.h (rb_thread_t): move root_lep, root_svar and ensure_list
to rb_execution_context_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -581,8 +581,8 @@ thread_do_start(rb_thread_t *th, VALUE args) rb_proc_t *proc; GetProcPtr(th->first_proc, proc); th->errinfo = Qnil; - th->root_lep = rb_vm_proc_local_ep(th->first_proc); - th->root_svar = Qfalse; + th->ec.root_lep = rb_vm_proc_local_ep(th->first_proc); + th->ec.root_svar = Qfalse; EXEC_EVENT_HOOK(th, RUBY_EVENT_THREAD_BEGIN, th->self, 0, 0, 0, Qundef); th->value = rb_vm_invoke_proc(th, proc, (int)RARRAY_LEN(args), RARRAY_CONST_PTR(args), |