From 1515a7d1620fa4998acc53a760776ce5a04726e2 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Fri, 25 Mar 2011 23:37:42 +0000 Subject: [PATCH] bug fix.. --- Robust/src/IR/Flat/BuildOoOJavaCode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Robust/src/IR/Flat/BuildOoOJavaCode.java b/Robust/src/IR/Flat/BuildOoOJavaCode.java index cec0c3c0..9857ca60 100644 --- a/Robust/src/IR/Flat/BuildOoOJavaCode.java +++ b/Robust/src/IR/Flat/BuildOoOJavaCode.java @@ -761,7 +761,7 @@ public class BuildOoOJavaCode extends BuildCode { output.println(" stallrecord->common.unresolvedDependencies=10000;"); output.println(" stallrecord->common.rcrstatus=1;"); output.println(" stallrecord->common.offsetToParamRecords=(INTPTR) & (((SESEstall *)0)->rcrRecords);"); - output.println(" stallrecord->common.refCount = 10003;"); + output.println(" stallrecord->common.refCount = 3;"); output.println(" int localCount=10000;"); output.println(" stallrecord->rcrRecords[0].index=0;"); output.println(" stallrecord->rcrRecords[0].flag=0;"); @@ -827,7 +827,7 @@ public class BuildOoOJavaCode extends BuildCode { output.println(" } else {");//exit if condition //release traversers reference if we didn't use traverser output.println("#ifndef OOO_DISABLE_TASKMEMPOOL"); - output.println(" RELEASE_REFERENCE_TO((SESEcommon *)stallrecord);"); + output.println(" RELEASE_REFERENCES_TO((SESEcommon *)stallrecord, 2);"); output.println("#endif"); output.println(" }"); //release our reference to stall record -- 2.34.1