summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-06 14:44:06 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-06 14:44:06 (GMT)
commitdaa13ad2af2d850ffc181ee341d51575f94f4e14 (patch)
tree89f873cc296bf3b51d63e07aa7b769531d774ab9 /proc.c
parent83da44790b0a4099d7ea54bdeee84e605f940cd1 (diff)
* proc.c (rb_method_entry_min_max_arity): should support
OPTIMIZED_METHOD_TYPE_CALL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/proc.c b/proc.c
index f210464..d7ed151 100644
--- a/proc.c
+++ b/proc.c
@@ -2093,6 +2093,9 @@ rb_method_entry_min_max_arity(const rb_method_entry_t *me, int *max)
case OPTIMIZED_METHOD_TYPE_SEND:
*max = UNLIMITED_ARGUMENTS;
return 0;
+ case OPTIMIZED_METHOD_TYPE_CALL:
+ *max = UNLIMITED_ARGUMENTS;
+ return 0;
default:
break;
}