fixed bug with wrong method being called in inheritance situations
[IRC.git] / Robust / src / IR / TypeUtil.java
index da25f219da1321803eabcfe91cf3f96302983ca5..9e09427e342f29694140e4d719ba6c9eb7cf2d9e 100644 (file)
@@ -150,8 +150,8 @@ public class TypeUtil {
            throw new Error();
     }
 
-
-    private boolean isSuperorType(ClassDescriptor possiblesuper, ClassDescriptor cd2) {
+    
+    public boolean isSuperorType(ClassDescriptor possiblesuper, ClassDescriptor cd2) {
        if (possiblesuper==cd2)
            return true;
        else