aboutsummaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-27 06:21:50 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-27 06:21:50 +0000
commitfce371fcf00bfdb15786dd32a6c3a0f887ff4942 (patch)
treef5a5aa1e090ef17c63ed444ca80529652840ca9f /vm.c
parent4890bdd9e8b4d6dbf31fb19b780538012ac2e287 (diff)
downloadruby-fce371fcf00bfdb15786dd32a6c3a0f887ff4942.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 8aa14b8d19..4b4b440025 100644
--- a/vm.c
+++ b/vm.c
@@ -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;