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 /insns.def | |
parent | 5825359dd87a26d5daf7a604583baa0ab48cc543 (diff) |
* 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 'insns.def')
-rw-r--r-- | insns.def | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -816,16 +816,16 @@ defined } break; case DEFINED_ZSUPER:{ - rb_iseq_t *ip = GET_ISEQ(); - while (ip) { - if (ip->defined_method_id) { + rb_iseq_t *iseq = GET_ISEQ(); + while (iseq) { + if (iseq->defined_method_id) { break; } - ip = ip->parent_iseq; + iseq = iseq->parent_iseq; } - if (ip) { - VALUE klass = vm_search_normal_superclass(ip->klass, GET_SELF()); - if (rb_method_boundp(klass, ip->defined_method_id, 0)) { + if (iseq) { + VALUE klass = vm_search_normal_superclass(iseq->klass, GET_SELF()); + if (rb_method_boundp(klass, iseq->defined_method_id, 0)) { expr_type = "super"; } } |