From 623f9f993b0e8fb68767a7c0dff6f035f13f6b5e Mon Sep 17 00:00:00 2001 From: yeom Date: Mon, 8 Nov 2010 21:04:11 +0000 Subject: [PATCH] do not generate enqueueTR for the main method --- Robust/src/IR/Flat/BuildCode.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Robust/src/IR/Flat/BuildCode.java b/Robust/src/IR/Flat/BuildCode.java index a6f4cea6..0ed4ebda 100644 --- a/Robust/src/IR/Flat/BuildCode.java +++ b/Robust/src/IR/Flat/BuildCode.java @@ -4499,7 +4499,9 @@ public class BuildCode { // Enqueue Task Record if (state.RCR) { - output.println(" enqueueTR(TRqueue, (void *)seseToIssue);"); + if( fsen != oooa.getMainSESE() ){ + output.println(" enqueueTR(TRqueue, (void *)seseToIssue);"); + } } // if there were no outstanding dependencies, issue here -- 2.34.1