From e6447c022936a2a28de5c719153dcc945774a425 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 28 Oct 2017 10:23:58 +0000 Subject: `th` -> `ec` for vm_set_*_stack. * vm.c: `th` -> `ec` for the following functions: * vm_set_top_stack * vm_set_eval_stack * vm_set_main_stack * vm_cref_new_toplevel git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_method.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_method.c') diff --git a/vm_method.c b/vm_method.c index 376e80246a..4019ca7eed 100644 --- a/vm_method.c +++ b/vm_method.c @@ -243,7 +243,7 @@ method_definition_set(const rb_method_entry_t *me, rb_method_definition_t *def, method_cref = cref; } else { - method_cref = vm_cref_new_toplevel(GET_THREAD()); /* TODO: can we reuse? */ + method_cref = vm_cref_new_toplevel(GET_EC()); /* TODO: can we reuse? */ } RB_OBJ_WRITE(me, &def->body.iseq.cref, method_cref); -- cgit v1.2.3