summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--iseq.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2e76e717a7..ed1135c2a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Oct 11 07:40:50 2012 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * 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@atdot.net>
* bootstraptest/test_block.rb: add tests for block with super.
diff --git a/iseq.c b/iseq.c
index 42cce0bb0b..fa83d1b670 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1041,7 +1041,7 @@ insn_operand_intern(rb_iseq_t *iseq,
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: