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

ruby-changes:48685

From: ko1 <ko1@a...>
Date: Thu, 16 Nov 2017 16:46:09 +0900 (JST)
Subject: [ruby-changes:48685] ko1:r60801 (trunk): remove unused function.

ko1	2017-11-16 16:46:05 +0900 (Thu, 16 Nov 2017)

  New Revision: 60801

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

  Log:
    remove unused function.
    
    * vm_method.c (rb_method_entry_with_refinements): removed.

  Modified files:
    trunk/method.h
    trunk/vm_method.c
Index: method.h
===================================================================
--- method.h	(revision 60800)
+++ method.h	(revision 60801)
@@ -188,7 +188,6 @@ rb_method_entry_t *rb_method_entry_creat https://github.com/ruby/ruby/blob/trunk/method.h#L188
 const rb_method_entry_t *rb_method_entry_at(VALUE obj, ID id);
 
 const rb_method_entry_t *rb_method_entry(VALUE klass, ID id);
-const rb_method_entry_t *rb_method_entry_with_refinements(VALUE klass, ID id, VALUE *defined_class);
 const rb_method_entry_t *rb_method_entry_without_refinements(VALUE klass, ID id, VALUE *defined_class);
 const rb_method_entry_t *rb_resolve_refined_method(VALUE refinements, const rb_method_entry_t *me);
 
Index: vm_method.c
===================================================================
--- vm_method.c	(revision 60800)
+++ vm_method.c	(revision 60801)
@@ -862,12 +862,6 @@ method_entry_resolve_refinement(VALUE kl https://github.com/ruby/ruby/blob/trunk/vm_method.c#L862
     return me;
 }
 
-const rb_method_entry_t *
-rb_method_entry_with_refinements(VALUE klass, ID id, VALUE *defined_class_ptr)
-{
-    return method_entry_resolve_refinement(klass, id, TRUE, defined_class_ptr);
-}
-
 const rb_callable_method_entry_t *
 rb_callable_method_entry_with_refinements(VALUE klass, ID id, VALUE *defined_class_ptr)
 {

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

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