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

ruby-changes:41096

From: shugo <ko1@a...>
Date: Thu, 17 Dec 2015 22:15:30 +0900 (JST)
Subject: [ruby-changes:41096] shugo:r53171 (trunk): * vm_args.c (vm_caller_setup_arg_block): remove code for ifunc

shugo	2015-12-17 22:15:20 +0900 (Thu, 17 Dec 2015)

  New Revision: 53171

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

  Log:
    * vm_args.c (vm_caller_setup_arg_block): remove code for ifunc
      because it was made unnecessary by r52138.

  Modified files:
    trunk/ChangeLog
    trunk/vm_args.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53170)
+++ ChangeLog	(revision 53171)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Dec 17 22:13:10 2015  Shugo Maeda  <shugo@r...>
+
+	* vm_args.c (vm_caller_setup_arg_block): remove code for ifunc
+	  because it was made unnecessary by r52138.
+
 Thu Dec 17 16:13:10 2015  Shugo Maeda  <shugo@r...>
 
 	* proc.c (rb_block_arity): should not call GetProcPtr() for symbols.
Index: vm_args.c
===================================================================
--- vm_args.c	(revision 53170)
+++ vm_args.c	(revision 53171)
@@ -785,11 +785,6 @@ vm_caller_setup_arg_block(const rb_threa https://github.com/ruby/ruby/blob/trunk/vm_args.c#L785
 	    calling->blockptr->iseq = (rb_iseq_t *)proc;
 	    calling->blockptr->proc = proc;
 	}
-	else if (RUBY_VM_IFUNC_P(proc)) {
-	    calling->blockptr = RUBY_VM_GET_BLOCK_PTR_IN_CFP(reg_cfp);
-	    calling->blockptr->iseq = (rb_iseq_t *)proc;
-	    calling->blockptr->proc = proc;
-	}
 	else {
 	    if (!rb_obj_is_proc(proc)) {
 		VALUE b;

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

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