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

ruby-changes:25084

From: naruse <ko1@a...>
Date: Thu, 11 Oct 2012 07:44:22 +0900 (JST)
Subject: [ruby-changes:25084] naruse:r37136 (trunk): * iseq.c (insn_operand_intern): cast op to rb_call_info_t* before

naruse	2012-10-11 07:43:51 +0900 (Thu, 11 Oct 2012)

  New Revision: 37136

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

  Log:
    * iseq.c (insn_operand_intern): cast op to rb_call_info_t* before
      compare with iseq->callinfo_entries whose type is rb_call_info_t*.

  Modified files:
    trunk/ChangeLog
    trunk/iseq.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 37135)
+++ ChangeLog	(revision 37136)
@@ -1,3 +1,8 @@
+Thu Oct 11 07:40:50 2012  NARUSE, Yui  <naruse@r...>
+
+	* iseq.c (insn_operand_intern): cast op to rb_call_info_t* before
+	  compare with iseq->callinfo_entries whose type is rb_call_info_t*.
+
 Thu Oct 11 03:37:08 2012  Koichi Sasada  <ko1@a...>
 
 	* bootstraptest/test_block.rb: add tests for block with super.
Index: iseq.c
===================================================================
--- iseq.c	(revision 37135)
+++ iseq.c	(revision 37136)
@@ -1041,7 +1041,7 @@
 	break;
 
       case TS_CALLINFO:
-	ret = rb_sprintf("<ci:%"PRIdPTRDIFF">", (struct iseq_inline_cache_entry *)op - iseq->callinfo_entries);
+	ret = rb_sprintf("<ci:%"PRIdPTRDIFF">", (rb_call_info_t *)op - iseq->callinfo_entries);
 	break;
 
       case TS_CDHASH:

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

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