diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-28 11:15:56 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-28 11:15:56 +0000 |
commit | bdb3e042671b5f683242bf2913796f24d04cfbb3 (patch) | |
tree | d95847827accdb95d666e5512a209133c1bf052c /proc.c | |
parent | 8271da22407f4877dea16996c7d7cb85603e5bae (diff) | |
download | ruby-bdb3e042671b5f683242bf2913796f24d04cfbb3.tar.gz |
`th` -> `ec` for rb_vm_make_binding().
* vm.c (rb_vm_make_binding): accepts (const) `ec` instead of `th`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -332,8 +332,8 @@ binding_clone(VALUE self) VALUE rb_binding_new(void) { - rb_thread_t *th = GET_THREAD(); - return rb_vm_make_binding(th, th->ec->cfp); + rb_execution_context_t *ec = GET_EC(); + return rb_vm_make_binding(ec, ec->cfp); } /* |