summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-30 18:04:35 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-30 18:04:35 +0000
commit6a69ad4df1719516a2da8b95872d3a44deae026c (patch)
tree805550c7516a6296d4d0a660c4e374b045e9c54b /proc.c
parenteb9aaa4c4fdaee9225e1843a71b5cdefaf179db6 (diff)
downloadruby-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proc.c b/proc.c
index abf26a68bb..1628f68275 100644
--- a/proc.c
+++ b/proc.c
@@ -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),