summaryrefslogtreecommitdiff
path: root/method.h
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 /method.h
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 'method.h')
-rw-r--r--method.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/method.h b/method.h
index 56b33e7b47..6ad28c60ad 100644
--- a/method.h
+++ b/method.h
@@ -46,9 +46,7 @@ typedef enum {
VM_METHOD_TYPE_OPTIMIZED, /* Kernel#send, Proc#call, etc */
VM_METHOD_TYPE_MISSING, /* wrapper for method_missing(id) */
VM_METHOD_TYPE_CFUNC_FRAMELESS,
- VM_METHOD_TYPE_REFINED,
-
- VM_METHOD_TYPE__MAX
+ VM_METHOD_TYPE_REFINED
} rb_method_type_t;
struct rb_call_info_struct;