From 04dc3a0ca655011fc775d58a7bd933b8ed644ef7 Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 27 Oct 2017 06:21:50 +0000 Subject: 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 --- vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm.c') 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; -- cgit v1.2.3