summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-16 16:25:30 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-16 16:25:30 +0000
commit4657257b75ff1d88e2653e4c408b0d98e7fbdc9a (patch)
treea297ce0517f24358cffcb8f784437e09ec837675 /iseq.c
parente7c3478261c30c64092a0f9532cb8b714911e1e8 (diff)
* 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
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iseq.c b/iseq.c
index 091faef58f..e9e65c76fa 100644
--- a/iseq.c
+++ b/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++) {