vm_method.c: debug message
* vm_method.c (method_definition_addref_complement): fix debug message, show complemented_count instead of alias_count. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b7d6b2299b
commit
639fd0874d
@ -358,7 +358,7 @@ static rb_method_definition_t *
|
|||||||
method_definition_addref_complement(rb_method_definition_t *def)
|
method_definition_addref_complement(rb_method_definition_t *def)
|
||||||
{
|
{
|
||||||
def->complemented_count++;
|
def->complemented_count++;
|
||||||
if (METHOD_DEBUG) fprintf(stderr, "+%p-%s:%d\n", def, rb_id2name(def->original_id), def->alias_count);
|
if (METHOD_DEBUG) fprintf(stderr, "+%p-%s:%d\n", def, rb_id2name(def->original_id), def->complemented_count);
|
||||||
return def;
|
return def;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user