From 48b17f67287ce1fe7ee09ee13ff8acd96ffd7398 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Fri, 3 Jul 2009 06:18:54 +0000 Subject: [PATCH] changes --- Robust/src/Analysis/Locality/DelayComputation.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Robust/src/Analysis/Locality/DelayComputation.java b/Robust/src/Analysis/Locality/DelayComputation.java index e72a4a39..c9c16d4e 100644 --- a/Robust/src/Analysis/Locality/DelayComputation.java +++ b/Robust/src/Analysis/Locality/DelayComputation.java @@ -309,7 +309,8 @@ public class DelayComputation { if (inpart1&&inpart2) { for(Iterator fnit2=fnset.iterator();fnit2.hasNext();) { FlatNode fn2=fnit2.next(); - if (otherset.contains(fn2)||cannotdelayset.contains(fn2)) { + if ((otherset.contains(fn2)||cannotdelayset.contains(fn2))&& + locality.getAtomic(lb).get(fn2).intValue()>0) { unionset.add(fn2); livenodes.add(fn2); } @@ -318,7 +319,7 @@ public class DelayComputation { } } } - + HashSet toanalyze=new HashSet(); toanalyze.add(fm); -- 2.34.1