summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-29 04:33:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-29 04:33:17 +0000
commit3f125d6b460624dd3edace4ee79ba65c38a43c7c (patch)
tree1cbbe1b764996342c80449886460d86074e5d857
parente208464986d5b5fc2320be47fad9911c05954c87 (diff)
downloadruby-3f125d6b460624dd3edace4ee79ba65c38a43c7c.tar.gz
ruby-3f125d6b460624dd3edace4ee79ba65c38a43c7c.tar.xz
ruby-3f125d6b460624dd3edace4ee79ba65c38a43c7c.zip
* vm_method.c (rb_method_entry_eq): fixed a message.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--vm_method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c
index 637e75df1..3eef4449d 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -819,7 +819,7 @@ rb_method_entry_eq(const rb_method_entry_t *m1, const rb_method_entry_t *m2)
case VM_METHOD_TYPE_OPTIMIZED:
return d1->body.optimize_type == d2->body.optimize_type;
default:
- rb_bug("rb_add_method: unsupported method type (%d)\n", d1->type);
+ rb_bug("rb_method_entry_eq: unsupported method type (%d)\n", d1->type);
return 0;
}
}