diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-12 07:07:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-12 07:07:25 +0000 |
commit | 3c4f8ce0921a5b64b77c5d6be69737f9dbf48d70 (patch) | |
tree | 5f0c95030bd7647d9aaeeec78b6c5294f075aebd /vm_insnhelper.c | |
parent | 9354b05e5cd4ee0fb0a6ed823145657eb4e68d55 (diff) | |
download | ruby-3c4f8ce0921a5b64b77c5d6be69737f9dbf48d70.tar.gz |
method.h: NOEX_SAFE_SHIFT_OFFSET
* method.h (rb_method_flag_t): name a magic number for NOEX_SAFE and
NOEX_WITH as NOEX_SAFE_SHIFT_OFFSET.
* method.h (rb_method_type_t, method_optimized_type): C89 forbids a
comma after the last element in enum.
* proc.c (rb_method_entry_arity), vm_eval.c (vm_call0_body),
vm_insnhelper.c (vm_call_method): add VM_METHOD_TYPE__MAX case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index caaab54e1d..64b812dd4b 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1786,6 +1786,8 @@ 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); } |