1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ko1 2015-10-06 14:44:06 +00:00
parent 83da44790b
commit daa13ad2af
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Tue Oct 6 23:43:10 2015 Koichi Sasada <ko1@atdot.net>
* proc.c (rb_method_entry_min_max_arity): should support
OPTIMIZED_METHOD_TYPE_CALL.
Tue Oct 6 21:29:08 2015 Tanaka Akira <akr@fsij.org>
* lib/tmpdir.rb (Dir.tmpdir): return duplicated string to be

3
proc.c
View file

@ -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;
}