From: jjenista Date: Fri, 15 May 2009 17:16:57 +0000 (+0000) Subject: stable for non-sese projects, an sese can have partial code X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=17dd8fc8ef96785f469265ab3e7942329a41620e;p=IRC.git stable for non-sese projects, an sese can have partial code --- diff --git a/Robust/src/Analysis/MLP/MLPAnalysis.java b/Robust/src/Analysis/MLP/MLPAnalysis.java index 57bfbb65..e27967b7 100644 --- a/Robust/src/Analysis/MLP/MLPAnalysis.java +++ b/Robust/src/Analysis/MLP/MLPAnalysis.java @@ -719,7 +719,7 @@ public class MLPAnalysis { //System.out.println( fm.printMethod( livenessRootView ) ); //System.out.println( fm.printMethod( variableResults ) ); //System.out.println( fm.printMethod( notAvailableResults ) ); - System.out.println( fm.printMethod( codePlans ) ); + //System.out.println( fm.printMethod( codePlans ) ); } } diff --git a/Robust/src/IR/Flat/BuildCode.java b/Robust/src/IR/Flat/BuildCode.java index 1aa82557..45673192 100644 --- a/Robust/src/IR/Flat/BuildCode.java +++ b/Robust/src/IR/Flat/BuildCode.java @@ -1496,22 +1496,19 @@ public class BuildCode { output.println("}\n\n"); } - /***** Generate code for FlatMethod fm. *****/ - private void generateFlatMethodSESE(FlatMethod fm, ClassDescriptor cn, FlatSESEEnterNode seseEnter, FlatSESEExitNode seseExit, PrintWriter output ) { - /* + MethodDescriptor md=fm.getMethod(); ParamsObject objectparams=(ParamsObject)paramstable.get(md); - //generateHeader(fm, lb, md); + generateHeader(fm, null, md, output); TempObject objecttemp=(TempObject) tempstable.get(md); - */ - /* + if (GENERATEPRECISEGC) { output.print(" struct "+cn.getSafeSymbol()+md.getSafeSymbol()+"_"+md.getSafeMethodDescriptor()+"_locals "+localsprefix+"={"); output.print(objecttemp.numPointers()+","); @@ -1520,9 +1517,7 @@ public class BuildCode { output.print(", NULL"); output.println("};"); } - */ - /* for(int i=0; i