Fixed lot of random bugs. Added code generate strings for expr's.
[repair.git] / Repair / RepairCompiler / MCC / IR / ExprPredicate.java
index 43ac5ad3ac0d3971bc9a1b179e7ff1a4b2ede44a..04b223ac205163fbdae870416e09c7cc7ed5eb64 100755 (executable)
@@ -10,6 +10,10 @@ public class ExprPredicate extends Predicate {
     public static final int SIZE=1;
     public static final int COMPARISON=2;
 
+    public String name() {
+       return expr.name();
+    }
+
     public int getType() {
        if (((OpExpr)expr).left instanceof SizeofExpr)
            return SIZE;