summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-17 05:35:27 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-17 05:35:27 +0000
commit639fd0874d81824c085a1d3daa14d8c142247b30 (patch)
treeeb366bb21aae85769b351e4840c34965d8b2efec /vm_method.c
parentb7d6b2299bc2a2b8f205818396cd555b0e9e967a (diff)
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
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c
index f6024320a3..0abef8f24b 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -358,7 +358,7 @@ static rb_method_definition_t *
method_definition_addref_complement(rb_method_definition_t *def)
{
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;
}