projects
/
org.ibex.classgen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add JSSA.Constant(int) to get JSSA to compile
[org.ibex.classgen.git]
/
src
/
org
/
ibex
/
classgen
/
JSSA.java
diff --git
a/src/org/ibex/classgen/JSSA.java
b/src/org/ibex/classgen/JSSA.java
index
ff688fd
..
376324a
100644
(file)
--- a/
src/org/ibex/classgen/JSSA.java
+++ b/
src/org/ibex/classgen/JSSA.java
@@
-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() {