add JSSA.Constant(int) to get JSSA to compile
authorbrian <brian@brianweb.net>
Sun, 3 Jul 2005 00:39:52 +0000 (00:39 +0000)
committerbrian <brian@brianweb.net>
Sun, 3 Jul 2005 00:39:52 +0000 (00:39 +0000)
darcs-hash:20050703003952-24bed-a0274c69f7e89d3d132251687e4b7863454c0c9c.gz

src/org/ibex/classgen/JSSA.java

index ff688fd..376324a 100644 (file)
@@ -333,6 +333,7 @@ public class JSSA extends MethodGen implements CGConst {
 
     public class Constant extends Expr {
         private final Object o;
+        public Constant(int i) { this(new Integer(i)); }
         public Constant(Object o) { this.o = o; }
         public String toString() { return o.toString(); }
         public Type getType() {