diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-30 18:04:35 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-30 18:04:35 +0000 |
commit | 6a69ad4df1719516a2da8b95872d3a44deae026c (patch) | |
tree | 805550c7516a6296d4d0a660c4e374b045e9c54b /proc.c | |
parent | eb9aaa4c4fdaee9225e1843a71b5cdefaf179db6 (diff) | |
download | ruby-6a69ad4df1719516a2da8b95872d3a44deae026c.tar.gz |
* yarvcore.h: some refactoring on rb_iseq_t.
rename some variable names, add comments, etc.
* compile.c, iseq.c, proc.c, vm.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -548,8 +548,8 @@ proc_to_s(VALUE self) if (RUBY_VM_NORMAL_ISEQ_P(iseq)) { int line_no = 0; - if (iseq->insn_info_tbl) { - line_no = iseq->insn_info_tbl[0].line_no; + if (iseq->insn_info_table) { + line_no = iseq->insn_info_table[0].line_no; } str = rb_sprintf("#<%s:%p@%s:%d%s>", cname, (void *)self, RSTRING_PTR(iseq->filename), |