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 4940d3b4d72270060145dd72278d56b34ad7b18d..670cd7926a432980513cf14539e6b788a755c434 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;