From: bdemsky Date: Wed, 17 May 2006 05:10:30 +0000 (+0000) Subject: Code to keep track of flags in flat ir X-Git-Tag: preEdgeChange~882 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bf38aefdaafef20f6ce7910b2a09eb76e6ff59d5;p=IRC.git Code to keep track of flags in flat ir --- diff --git a/Robust/src/IR/Flat/BuildFlat.java b/Robust/src/IR/Flat/BuildFlat.java index 471b5fe0..7cead58f 100644 --- a/Robust/src/IR/Flat/BuildFlat.java +++ b/Robust/src/IR/Flat/BuildFlat.java @@ -33,14 +33,34 @@ public class BuildFlat { private void flattenTask(TaskDescriptor td) { BlockNode bn=state.getMethodBody(td); FlatNode fn=flattenBlockNode(bn).getBegin(); - FlatMethod fm=new FlatMethod(td, fn); + FlatFlagActionNode ffan=new FlatFlagActionNode(); + ffan.addNext(fn); + FlatMethod fm=new FlatMethod(td, ffan); for(int i=0;i