Revision
4371
Author
lsansonetti@apple.com
Date
2010-07-21 00:00:57 -0700 (Wed, 21 Jul 2010)

Log Message

fixed #remove_instance_variable for native objects

Modified Paths

Diff

Modified: MacRuby/trunk/variable.c (4370 => 4371)


--- MacRuby/trunk/variable.c	2010-07-21 06:03:19 UTC (rev 4370)
+++ MacRuby/trunk/variable.c	2010-07-21 07:00:57 UTC (rev 4371)
@@ -1266,10 +1266,8 @@
 	    break;
 
 	default:
-	    if (FL_TEST(obj, FL_EXIVAR) || rb_special_const_p(obj)) {
-		if (generic_ivar_remove(obj, id, &val)) {
-		    return val;
-		}
+	    if (generic_ivar_remove(obj, id, &val)) {
+		return val;
 	    }
 	    break;
     }