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_eval.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_eval.c')
-rw-r--r-- | vm_eval.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -227,8 +227,6 @@ vm_call0_body(rb_thread_t* th, rb_call_info_t *ci, const VALUE *argv) } case VM_METHOD_TYPE_UNDEF: break; - case VM_METHOD_TYPE__MAX: - break; } rb_bug("vm_call0: unsupported method type (%d)", ci->me->def->type); return Qundef; |