summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-28 10:23:58 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-28 10:23:58 +0000
commit9c4542dbaa0808de63fed5681a0e514d47d5d10f (patch)
treeb3393ad085c898a261d8a7a3ff890b099639bd32 /vm_method.c
parentf8a9d044f416e04e0c340fe77bf5c603fc753ff2 (diff)
`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
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c2
1 files changed, 1 insertions, 1 deletions
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);