diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-27 06:21:50 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-27 06:21:50 +0000 |
commit | 04dc3a0ca655011fc775d58a7bd933b8ed644ef7 (patch) | |
tree | f5a5aa1e090ef17c63ed444ca80529652840ca9f /vm.c | |
parent | 88910e94a83e3360619685b6535081e9c6f81d12 (diff) | |
download | ruby-04dc3a0ca655011fc775d58a7bd933b8ed644ef7.tar.gz |
vm_exec_core() accepts `ec` instead of `th`.
* vm_exec.c (vm_exec_core): accepts `ec` instead of `th`.
* vm_args.c (vm_caller_setup_arg_block): also accepts `ec`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1794,7 +1794,7 @@ vm_exec(rb_thread_t *th) _tag.retval = Qnil; if ((state = EXEC_TAG()) == TAG_NONE) { vm_loop_start: - result = vm_exec_core(th, initial); + result = vm_exec_core(th->ec, initial); VM_ASSERT(th->ec->tag == &_tag); if ((state = _tag.state) != TAG_NONE) { err = (struct vm_throw_data *)result; |