add Context.emit()
authoradam <adam@megacz.com>
Mon, 3 Nov 2008 10:16:43 +0000 (11:16 +0100)
committeradam <adam@megacz.com>
Mon, 3 Nov 2008 10:16:43 +0000 (11:16 +0100)
src/edu/berkeley/fleet/ir/Context.java

index f973e87..83a2806 100644 (file)
@@ -375,4 +375,9 @@ public class Context {
 
     }
 
+    public void emit(ArrayList<Instruction> ic) {
+        for(LoopFactory lf : startupLoopFactories.values())
+            lf.emit(ic);
+    }
+
 }