From: bdemsky Date: Tue, 27 Apr 2004 21:33:04 +0000 (+0000) Subject: Bug in the analysis...oops X-Git-Url: http://plrg.eecs.uci.edu/git/?p=repair.git;a=commitdiff_plain;h=229b87c0fc246ff47b913673d33631a578dd5c3b Bug in the analysis...oops --- 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;