git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2015-11-17 09:54:33 +00:00
parent fa4e516db9
commit a2f72abb0f

View File

@ -5,8 +5,8 @@ Tue Nov 17 18:36:52 2015 Koichi Sasada <ko1@atdot.net>
* vm_method.c (method_definition_addref_complement): introduced.
def->alias_count is used to decide warn or do not warn at method
redefinition. Complented methods should not prevent redefiniton
warnings.
redefinition. Complemented method entries should not prevent
redefiniton warnings.
* vm_method.c (rb_method_definition_release): release def iff
alias_count == 0 && complemented_count == 0.