From 5a7bd5349cd15bf662b949e8510570d3929c35fb Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 28 Oct 2017 10:47:19 +0000 Subject: `th` -> `ec` for some functions. * vm.c (rb_vm_get_binding_creatable_next_cfp): accepts `ec` instead of `th`. * vm.c (rb_vm_stack_to_heap): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- cont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cont.c') diff --git a/cont.c b/cont.c index d34ddd33fe..4e865c5915 100644 --- a/cont.c +++ b/cont.c @@ -606,7 +606,7 @@ cont_capture(volatile int *volatile stat) const rb_execution_context_t *ec = th->ec; THREAD_MUST_BE_RUNNING(th); - rb_vm_stack_to_heap(th); + rb_vm_stack_to_heap(th->ec); cont = cont_new(rb_cContinuation); contval = cont->self; -- cgit v1.2.3