diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | vm_insnhelper.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Mon Mar 9 21:42:10 2015 Koichi Sasada <ko1@atdot.net> + + * vm_insnhelper.c (ep_cref): rename to lep_cref() because it should be + local ep. + Mon Mar 9 16:34:36 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * ext/stringio/stringio.c (strio_close): don't raise on dobule diff --git a/vm_insnhelper.c b/vm_insnhelper.c index ddb3040743..ccc18c5aa7 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -254,7 +254,7 @@ vm_getspecial(rb_thread_t *th, VALUE *lep, rb_num_t key, rb_num_t type) } static rb_cref_t * -ep_cref(const VALUE *ep) +lep_cref(const VALUE *ep) { const VALUE svar = ep[-1]; @@ -278,7 +278,7 @@ vm_get_cref0(const VALUE *ep) } ep = VM_EP_PREV_EP(ep); } - return ep_cref(ep); + return lep_cref(ep); } rb_cref_t * |