From daa13ad2af2d850ffc181ee341d51575f94f4e14 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 6 Oct 2015 14:44:06 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ proc.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 501c1a98f6..fe96239ae3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Oct 6 23:43:10 2015 Koichi Sasada + + * proc.c (rb_method_entry_min_max_arity): should support + OPTIMIZED_METHOD_TYPE_CALL. + Tue Oct 6 21:29:08 2015 Tanaka Akira * lib/tmpdir.rb (Dir.tmpdir): return duplicated string to be diff --git a/proc.c b/proc.c index f210464ec3..d7ed151780 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; }