printflat option
[IRC.git] / Robust / src / IR / Flat / BuildCode.java
index c7c7e61c7e7f7f848cf2ed5690ee2cf1cec339ed..6f82f3184cefcc5d3a3b44e12ef0b69143518a1c 100644 (file)
@@ -1200,6 +1200,8 @@ public class BuildCode {
     /***** Generate code for FlatMethod fm. *****/
 
     private void generateFlatMethod(FlatMethod fm, LocalityBinding lb, PrintWriter output) {
+       if (State.PRINTFLAT)
+           System.out.println(fm.printMethod());
        MethodDescriptor md=fm.getMethod();
        
        TaskDescriptor task=fm.getTask();