mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_insnhelper.c (vm_defined): no need to use cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
54a9ac7655
commit
63e1601049
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Jun 5 01:17:21 2015 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm_insnhelper.c (vm_defined): no need to use cast.
|
||||
|
||||
Fri Jun 5 01:14:02 2015 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm_insnhelper.c (vm_defined): show additional messages on rb_bug().
|
||||
|
|
|
@ -2468,7 +2468,7 @@ vm_defined(rb_thread_t *th, rb_control_frame_t *reg_cfp, rb_num_t op_type, VALUE
|
|||
if (me) {
|
||||
const rb_method_definition_t *def = me->def;
|
||||
|
||||
switch ((unsigned int)def->flags.visi) {
|
||||
switch (def->flags.visi) {
|
||||
case METHOD_VISI_PRIVATE:
|
||||
break;
|
||||
case METHOD_VISI_PROTECTED:
|
||||
|
|
Loading…
Reference in a new issue