summaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-17 04:04:49 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-17 04:04:49 +0000
commitd2bb834d4ade5bcc85276f0c172b80181fcbc6e9 (patch)
tree9ae14607c9bb026840c99df62428e4e2275614e0 /iseq.c
parentac325163b46e07a628db63c2aef8368718440138 (diff)
downloadruby-d2bb834d4ade5bcc85276f0c172b80181fcbc6e9.tar.gz
ruby-d2bb834d4ade5bcc85276f0c172b80181fcbc6e9.tar.xz
ruby-d2bb834d4ade5bcc85276f0c172b80181fcbc6e9.zip
* iseq.c (ruby_iseq_disasm): fix to show post arg info.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/iseq.c b/iseq.c
index 0a4dd824b..11d5b9cba 100644
--- a/iseq.c
+++ b/iseq.c
@@ -752,9 +752,10 @@ ruby_iseq_disasm(VALUE self)
if (tbl) {
snprintf(buff, sizeof(buff),
"local table (size: %d, argc: %d "
- "[opts: %d, rest: %d, block: %d] %s)\n",
+ "[opts: %d, rest: %d, post: %d, block: %d] %s)\n",
iseqdat->local_size, iseqdat->argc,
- iseqdat->arg_opts, iseqdat->arg_rest, iseqdat->arg_block,
+ iseqdat->arg_opts, iseqdat->arg_rest,
+ iseqdat->arg_post_len, iseqdat->arg_block,
iseqdat->arg_simple ? "s" : "c");
rb_str_cat2(str, buff);