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 /method.h | |
parent | 6f8bce9eff15b527c87e1b13312db2fbf0b504f4 (diff) | |
download | ruby-33fedef5a5e3b846c06cccefd9fef23485c7f8ba.tar.gz |
* 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.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; |