* vm_method.c (rb_method_entry_eq): fixed a message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
00be97da7e
commit
5e4d04c36e
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user