add pump-local literals and convert Alu1 test case
[fleet.git] / src / edu / berkeley / fleet / api / Instruction.java
index a32b8d0..8ca41b7 100644 (file)
@@ -98,6 +98,15 @@ public abstract class Instruction {
 
     }
 
+    public static class LocalLiteral extends Instruction {
+        public final Pump pump;
+        public final long literal;
+        public LocalLiteral(Pump pump, long literal) {
+            this.pump = pump;
+            this.literal = literal;
+        }
+    }
+
     public static class Literal extends Instruction {
         public final Destination dest;
         protected Literal(Destination dest) { this.dest = dest; }