From: yeom Date: Mon, 8 Nov 2010 21:04:11 +0000 (+0000) Subject: do not generate enqueueTR for the main method X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=623f9f993b0e8fb68767a7c0dff6f035f13f6b5e;p=IRC.git do not generate enqueueTR for the main method --- 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