[前][次][番号順一覧][スレッド一覧]

ruby-changes:37825

From: ko1 <ko1@a...>
Date: Mon, 9 Mar 2015 21:43:16 +0900 (JST)
Subject: [ruby-changes:37825] ko1:r49906 (trunk): * vm_insnhelper.c (ep_cref): rename to lep_cref() because it should be

ko1	2015-03-09 21:43:00 +0900 (Mon, 09 Mar 2015)

  New Revision: 49906

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49906

  Log:
    * vm_insnhelper.c (ep_cref): rename to lep_cref() because it should be
      local ep.

  Modified files:
    trunk/ChangeLog
    trunk/vm_insnhelper.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 49905)
+++ ChangeLog	(revision 49906)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Mar  9 21:42:10 2015  Koichi Sasada  <ko1@a...>
+
+	* 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@r...>
 
 	* ext/stringio/stringio.c (strio_close): don't raise on dobule
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 49905)
+++ vm_insnhelper.c	(revision 49906)
@@ -254,7 +254,7 @@ vm_getspecial(rb_thread_t *th, VALUE *le https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L254
 }
 
 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) https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L278
 	}
 	ep = VM_EP_PREV_EP(ep);
     }
-    return ep_cref(ep);
+    return lep_cref(ep);
 }
 
 rb_cref_t *

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]