Skip to content

Commit

Permalink
* iseq.c (insn_operand_intern): add support disasm TS_CALLINFO
Browse files Browse the repository at this point in the history
  operands.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
ko1 committed Oct 10, 2012
1 parent 187ae6d commit 6990c7f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Thu Oct 11 02:50:34 2012 Koichi Sasada <ko1@atdot.net>

* iseq.c (insn_operand_intern): add support disasm TS_CALLINFO
operands.

Wed Oct 10 15:12:48 2012 NAKAMURA Usaku <usa@ruby-lang.org>

* test/ruby/test_process.rb (TestProcess#test_execopts_gid): skip on
Expand Down
4 changes: 4 additions & 0 deletions iseq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1040,6 +1040,10 @@ insn_operand_intern(rb_iseq_t *iseq,
ret = rb_sprintf("<ic:%"PRIdPTRDIFF">", (struct iseq_inline_cache_entry *)op - iseq->ic_entries);
break;

case TS_CALLINFO:
ret = rb_sprintf("<ci:%"PRIdPTRDIFF">", (struct iseq_inline_cache_entry *)op - iseq->callinfo_entries);
break;

case TS_CDHASH:
ret = rb_str_new2("<cdhash>");
break;
Expand Down

0 comments on commit 6990c7f

Please sign in to comment.