diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-13 02:27:58 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-13 02:27:58 +0000 |
commit | 33fedef5a5e3b846c06cccefd9fef23485c7f8ba (patch) | |
tree | 4b38dd4f549a857d029d5520eb7dcf00d12d554b /vm_insnhelper.c | |
parent | 6f8bce9eff15b527c87e1b13312db2fbf0b504f4 (diff) |
* method.h: remove "VM_METHOD_TYPE__MAX" from rb_method_type_t.
rb_method_type_t is not a number and "_MAX" causes misunderstanding.
* proc.c (rb_method_entry_arity): ditto.
* vm_eval.c (vm_call0_body): ditto.
* vm_insnhelper.c (vm_call_method): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 64b812dd4b..caaab54e1d 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1786,8 +1786,6 @@ vm_call_method(rb_thread_t *th, rb_control_frame_t *cfp, rb_call_info_t *ci) goto zsuper_method_dispatch; } } - case VM_METHOD_TYPE__MAX: - break; } rb_bug("vm_call_method: unsupported method type (%d)", ci->me->def->type); } |