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

ruby-changes:38675

From: ko1 <ko1@a...>
Date: Thu, 4 Jun 2015 05:15:39 +0900 (JST)
Subject: [ruby-changes:38675] ko1:r50756 (trunk): * vm_insnhelper.c (def_iseq_ptr): `iseqval' is not available any more.

ko1	2015-06-04 05:15:24 +0900 (Thu, 04 Jun 2015)

  New Revision: 50756

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

  Log:
    * vm_insnhelper.c (def_iseq_ptr): `iseqval' is not available any more.

  Modified files:
    trunk/ChangeLog
    trunk/vm_insnhelper.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50755)
+++ ChangeLog	(revision 50756)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jun  4 05:13:34 2015  Koichi Sasada  <ko1@a...>
+
+	* vm_insnhelper.c (def_iseq_ptr): `iseqval' is not available any more.
+
 Thu Jun  4 04:50:12 2015  Koichi Sasada  <ko1@a...>
 
 	* class.c (method_entry_i): mtbl should not have `me' as NULL.
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 50755)
+++ vm_insnhelper.c	(revision 50756)
@@ -1326,9 +1326,7 @@ static rb_iseq_t * https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L1326
 def_iseq_ptr(rb_method_definition_t *def)
 {
 #if VM_CHECK_MODE > 0
-    rb_iseq_t *iseq;
     if (def->type != VM_METHOD_TYPE_ISEQ) rb_bug("def_iseq_ptr: not iseq (%d)", def->type);
-    GetISeqPtr(def->body.iseq.iseqval, iseq);
     if (def->body.iseq.iseqptr != iseq) rb_bug("def_iseq_ptr: ???.");
 #endif
     return def->body.iseq.iseqptr;

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

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