diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | proc.c | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -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 @@ -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; } |