diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-16 16:25:30 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-16 16:25:30 +0000 |
commit | 4657257b75ff1d88e2653e4c408b0d98e7fbdc9a (patch) | |
tree | a297ce0517f24358cffcb8f784437e09ec837675 | |
parent | e7c3478261c30c64092a0f9532cb8b714911e1e8 (diff) | |
download | ruby-4657257b75ff1d88e2653e4c408b0d98e7fbdc9a.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | iseq.c | 4 |
2 files changed, 6 insertions, 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] @@ -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++) { |