change so that new analysis runs for all benchmarks
authorbdemsky <bdemsky>
Tue, 22 Mar 2011 04:53:59 +0000 (04:53 +0000)
committerbdemsky <bdemsky>
Tue, 22 Mar 2011 04:53:59 +0000 (04:53 +0000)
Robust/src/Analysis/OoOJava/ConflictGraph.java

index 9492990e0b74ffc1618a6b164f75d96ac3a26cc7..0eeb454909fd00345c154d2e57b3c7a2bfee05c8 100644 (file)
@@ -405,7 +405,8 @@ public class ConflictGraph {
             Effect effectB = (Effect) iterator2.next();
 
             if (effectA.getAffectedAllocSite().equals(effectB.getAffectedAllocSite())
-                && effectA.getField().equals(effectB.getField())) {
+                && ((effectA.getField()!=null&&effectB.getField()!=null&&effectA.getField().equals(effectB.getField()))||
+                   (effectA.getField()==null&&effectB.getField()==null))) {
 
               if (useReachInfo) {
                 FlatNew fnRoot1 = asA.getFlatNew();