mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* iseq.c (ruby_iseq_disasm): fix to show arg_simple value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e7c3478261
commit
4657257b75
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Aug 17 01:24:12 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* iseq.c (ruby_iseq_disasm): fix to show arg_simple value.
|
||||
|
||||
Fri Aug 17 01:21:29 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* insns.def (throw): insert a RUBY_VM_CHECK_INTS(). [ruby-dev:31361]
|
||||
|
|
4
iseq.c
4
iseq.c
|
@ -809,11 +809,11 @@ ruby_iseq_disasm(VALUE self)
|
|||
if (tbl) {
|
||||
snprintf(buff, sizeof(buff),
|
||||
"local table (size: %d, argc: %d "
|
||||
"[opts: %d, rest: %d, post: %d, block: %d] %s)\n",
|
||||
"[opts: %d, rest: %d, post: %d, block: %d] s%d)\n",
|
||||
iseqdat->local_size, iseqdat->argc,
|
||||
iseqdat->arg_opts, iseqdat->arg_rest,
|
||||
iseqdat->arg_post_len, iseqdat->arg_block,
|
||||
iseqdat->arg_simple ? "s" : "c");
|
||||
iseqdat->arg_simple);
|
||||
rb_str_cat2(str, buff);
|
||||
|
||||
for (i = 0; i < iseqdat->local_table_size; i++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue