[前][次][番号順一覧][スレッド一覧]

ruby-changes:39982

From: ko1 <ko1@a...>
Date: Tue, 6 Oct 2015 23:44:26 +0900 (JST)
Subject: [ruby-changes:39982] ko1:r52063 (trunk): * proc.c (rb_method_entry_min_max_arity): should support

ko1	2015-10-06 23:44:06 +0900 (Tue, 06 Oct 2015)

  New Revision: 52063

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52063

  Log:
    * proc.c (rb_method_entry_min_max_arity): should support
      OPTIMIZED_METHOD_TYPE_CALL.

  Modified files:
    trunk/ChangeLog
    trunk/proc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 52062)
+++ ChangeLog	(revision 52063)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Oct  6 23:43:10 2015  Koichi Sasada  <ko1@a...>
+
+	* proc.c (rb_method_entry_min_max_arity): should support
+	  OPTIMIZED_METHOD_TYPE_CALL.
+
 Tue Oct  6 21:29:08 2015  Tanaka Akira  <akr@f...>
 
 	* lib/tmpdir.rb (Dir.tmpdir): return duplicated string to be
Index: proc.c
===================================================================
--- proc.c	(revision 52062)
+++ proc.c	(revision 52063)
@@ -2093,6 +2093,9 @@ rb_method_entry_min_max_arity(const rb_m https://github.com/ruby/ruby/blob/trunk/proc.c#L2093
 	  case OPTIMIZED_METHOD_TYPE_SEND:
 	    *max = UNLIMITED_ARGUMENTS;
 	    return 0;
+	  case OPTIMIZED_METHOD_TYPE_CALL:
+	    *max = UNLIMITED_ARGUMENTS;
+	    return 0;
 	  default:
 	    break;
 	}

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]