summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-04 08:09:14 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-04 08:09:14 +0000
commit43f68272c7fc50ba33c58f7e22923bac6fc204ac (patch)
tree039282445855b8cd45ea83fd2c3551e9a50975e9 /object.c
parentc2269d5b4f60829a523f3479492267ef99e1c5fb (diff)
* object.c (rb_class_real): should not follow ICLASS link
* variable.c (classname): should follow ICLASS link explicitly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r--object.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/object.c b/object.c
index 35517e963a..240a51c3f9 100644
--- a/object.c
+++ b/object.c
@@ -75,9 +75,6 @@ VALUE
rb_class_real(cl)
VALUE cl;
{
- if (TYPE(cl) == T_ICLASS) {
- cl = RBASIC(cl)->klass;
- }
while (FL_TEST(cl, FL_SINGLETON) || TYPE(cl) == T_ICLASS) {
cl = RCLASS(cl)->super;
}