Bug in the analysis...oops
authorbdemsky <bdemsky>
Tue, 27 Apr 2004 21:33:04 +0000 (21:33 +0000)
committerbdemsky <bdemsky>
Tue, 27 Apr 2004 21:33:04 +0000 (21:33 +0000)
Repair/RepairCompiler/MCC/IR/ArrayAnalysis.java

index 4940d3b..670cd79 100755 (executable)
@@ -85,7 +85,7 @@ public class ArrayAnalysis {
        Expr ptr=e;
        while(true) {
            if (!(ptr instanceof DotExpr))
-               return null; /* Does something other than a dereference */
+               return AccessPath.NONE; /* Does something other than a dereference */
            DotExpr de=(DotExpr)ptr;
            dotvector.add(de);
            ptr=de.left;