summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-14 13:19:30 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-14 13:19:30 +0000
commit559fd3e439194bbc8d55cae30c8c1ba13832c8e8 (patch)
treeef41db126b616ae21c633176f9256e19f02fa8fe /insns.def
parent5825359dd87a26d5daf7a604583baa0ab48cc543 (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.def14
1 files changed, 7 insertions, 7 deletions
diff --git a/insns.def b/insns.def
index 89301e87b2..b117fd5e35 100644
--- a/insns.def
+++ b/insns.def
@@ -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";
}
}