From bec9bf8d757f48c3a830d139ccef6cf6c35ad783 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Fri, 6 Nov 2009 23:26:46 +0000 Subject: [PATCH] bug fix --- Robust/src/IR/Flat/BuildCode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robust/src/IR/Flat/BuildCode.java b/Robust/src/IR/Flat/BuildCode.java index 9894e983..d2f93014 100644 --- a/Robust/src/IR/Flat/BuildCode.java +++ b/Robust/src/IR/Flat/BuildCode.java @@ -2945,7 +2945,7 @@ public class BuildCode { } else { /* Need to convert to OID */ if ((dc==null)||dc.getNeedSrcTrans(lb,fgcn)) { - if (fgcn.doConvert()||(delaycomp!=null&&atomicmethodmap.get(fgcn.getAtomicEnter()).reallivein.contains(fgcn.getSrc()))) { + if (fgcn.doConvert()||(delaycomp!=null&&delaycomp.needsFission(lb, fgcn.getAtomicEnter())&&atomicmethodmap.get(fgcn.getAtomicEnter()).reallivein.contains(fgcn.getSrc()))) { output.println(generateTemp(fm, fgcn.getSrc(),lb)+"=(void *)COMPOID("+generateTemp(fm, fgcn.getSrc(),lb)+");"); } else { output.println(generateTemp(fm, fgcn.getSrc(),lb)+"=NULL;"); -- 2.34.1