summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-13 02:27:58 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-13 02:27:58 +0000
commit33fedef5a5e3b846c06cccefd9fef23485c7f8ba (patch)
tree4b38dd4f549a857d029d5520eb7dcf00d12d554b /vm_eval.c
parent6f8bce9eff15b527c87e1b13312db2fbf0b504f4 (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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vm_eval.c b/vm_eval.c
index 4d5e47d5f4..190d2bc559 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -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;