From 229b87c0fc246ff47b913673d33631a578dd5c3b Mon Sep 17 00:00:00 2001 From: bdemsky Date: Tue, 27 Apr 2004 21:33:04 +0000 Subject: [PATCH] Bug in the analysis...oops --- Repair/RepairCompiler/MCC/IR/ArrayAnalysis.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Repair/RepairCompiler/MCC/IR/ArrayAnalysis.java b/Repair/RepairCompiler/MCC/IR/ArrayAnalysis.java index 4940d3b..670cd79 100755 --- a/Repair/RepairCompiler/MCC/IR/ArrayAnalysis.java +++ b/Repair/RepairCompiler/MCC/IR/ArrayAnalysis.java @@ -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; -- 2.34.1