ruby-changes:25254
From: ko1 <ko1@a...>
Date: Wed, 24 Oct 2012 05:53:44 +0900 (JST)
Subject: [ruby-changes:25254] ko1:r37306 (trunk): * vm_insnhelper.c (vm_call_method): remove `default' and
ko1 2012-10-24 05:53:35 +0900 (Wed, 24 Oct 2012) New Revision: 37306 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37306 Log: * vm_insnhelper.c (vm_call_method): remove `default' and add a case for `VM_METHOD_TYPE_UNDEF'. Modified files: trunk/ChangeLog trunk/vm_insnhelper.c Index: ChangeLog =================================================================== --- ChangeLog (revision 37305) +++ ChangeLog (revision 37306) @@ -1,3 +1,8 @@ +Wed Oct 24 05:52:36 2012 Koichi Sasada <ko1@a...> + + * vm_insnhelper.c (vm_call_method): remove `default' and + add a case for `VM_METHOD_TYPE_UNDEF'. + Wed Oct 24 05:41:18 2012 Koichi Sasada <ko1@a...> * eval_error.c (error_print), vm_eval.c (eval_string_with_cref), Index: vm_insnhelper.c =================================================================== --- vm_insnhelper.c (revision 37305) +++ vm_insnhelper.c (revision 37306) @@ -1750,11 +1750,10 @@ rb_bug("vm_call_method: unsupported cfunc_fast argc (%d)", ci->me->def->body.cfunc.argc); } break; - default:{ - rb_bug("vm_call_method: unsupported method type (%d)", ci->me->def->type); + case VM_METHOD_TYPE_UNDEF: break; - } } + rb_bug("vm_call_method: unsupported method type (%d)", ci->me->def->type); } else { int noex_safe; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/