diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-14 13:19:30 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-14 13:19:30 +0000 |
commit | 559fd3e439194bbc8d55cae30c8c1ba13832c8e8 (patch) | |
tree | ef41db126b616ae21c633176f9256e19f02fa8fe /iseq.c | |
parent | 5825359dd87a26d5daf7a604583baa0ab48cc543 (diff) | |
download | ruby-559fd3e439194bbc8d55cae30c8c1ba13832c8e8.tar.gz |
* insns.def, iseq.c, vm_insnhelper.c: rename variable name
(ip -> iseq).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -748,9 +748,9 @@ insn_operand_intern(rb_iseq_t *iseq, case TS_LINDEX: { - rb_iseq_t *ip = iseq->local_iseq; - int lidx = ip->local_size - (int)op; - const char *name = rb_id2name(ip->local_table[lidx]); + rb_iseq_t *liseq = iseq->local_iseq; + int lidx = liseq->local_size - (int)op; + const char *name = rb_id2name(liseq->local_table[lidx]); if (name) { ret = rb_str_new2(name); @@ -762,13 +762,13 @@ insn_operand_intern(rb_iseq_t *iseq, } case TS_DINDEX:{ if (insn == BIN(getdynamic) || insn == BIN(setdynamic)) { - rb_iseq_t *ip = iseq; + rb_iseq_t *diseq = iseq; VALUE level = *pnop, i; const char *name; for (i = 0; i < level; i++) { - ip = ip->parent_iseq; + diseq = diseq->parent_iseq; } - name = rb_id2name(ip->local_table[ip->local_size - op]); + name = rb_id2name(diseq->local_table[diseq->local_size - op]); if (!name) { name = "*"; |