small changes
authorbdemsky <bdemsky>
Wed, 6 Sep 2006 15:38:49 +0000 (15:38 +0000)
committerbdemsky <bdemsky>
Wed, 6 Sep 2006 15:38:49 +0000 (15:38 +0000)
Repair/RepairCompiler/MCC/CRuntime/tmap.c
Repair/RepairCompiler/MCC/IR/AbstractInterferes.java

index bf03f04..25788a6 100755 (executable)
 
 struct typemap * allocatetypemap() {
   struct typemap *thisvar=(struct typemap *) malloc(sizeof(struct typemap));
+#ifdef CHECKTYPE||CHECKMEMORY
   thisvar->alloctree=rbinit();
   thisvar->typetree=rbinit();
   thisvar->low=GC_linux_stack_base();
+#endif
   return thisvar;
 }
 
index 6b09ac4..b70cffb 100755 (executable)
@@ -808,11 +808,10 @@ class AbstractInterferes {
                       ElementOfExpr */
                    if (expr.getRequiredDescriptors().contains(des)) {
                        if (((expr instanceof ElementOfExpr)||
-                           (expr instanceof TupleOfExpr))&&
-                           (expr.getRequiredDescriptors().size()==1))
+                            (expr instanceof TupleOfExpr)))
                            return true;
                        else
-                           throw new Error("Unrecognized EXPR");
+                           throw new Error("Unrecognized EXPR: "+expr);
                    }
                }
            }