ruby-changes:38674
From: ko1 <ko1@a...>
Date: Thu, 4 Jun 2015 04:51:48 +0900 (JST)
Subject: [ruby-changes:38674] ko1:r50755 (trunk): * class.c (method_entry_i): mtbl should not have `me' as NULL.
ko1 2015-06-04 04:51:38 +0900 (Thu, 04 Jun 2015) New Revision: 50755 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50755 Log: * class.c (method_entry_i): mtbl should not have `me' as NULL. Modified files: trunk/ChangeLog trunk/class.c Index: ChangeLog =================================================================== --- ChangeLog (revision 50754) +++ ChangeLog (revision 50755) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Jun 4 04:50:12 2015 Koichi Sasada <ko1@a...> + + * class.c (method_entry_i): mtbl should not have `me' as NULL. + Thu Jun 4 04:28:45 2015 Koichi Sasada <ko1@a...> * class.c (clone_method): do not use me->klass, but use explicitly Index: class.c =================================================================== --- class.c (revision 50754) +++ class.c (revision 50755) @@ -1123,7 +1123,7 @@ method_entry_i(st_data_t key, st_data_t https://github.com/ruby/ruby/blob/trunk/class.c#L1123 struct method_entry_arg *arg = (struct method_entry_arg *)data; rb_method_visibility_t type; - if (me && me->def->type == VM_METHOD_TYPE_REFINED) { + if (me->def->type == VM_METHOD_TYPE_REFINED) { VALUE klass = me->klass; me = rb_resolve_refined_method(Qnil, me, NULL); if (!me) return ST_CONTINUE; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/