mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_insnhelper.c (vm_call_method): remove `default' and
add a case for `VM_METHOD_TYPE_UNDEF'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
378041cfbf
commit
e1d772c801
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Oct 24 05:52:36 2012 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* 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@atdot.net>
|
||||
|
||||
* eval_error.c (error_print), vm_eval.c (eval_string_with_cref),
|
||||
|
|
|
@ -1750,11 +1750,10 @@ vm_call_method(rb_thread_t *th, rb_control_frame_t *cfp, rb_call_info_t *ci)
|
|||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue