projects
/
org.ibex.classgen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aa7f6c
)
fix iinc bug
author
brian
<brian@brianweb.net>
Sun, 30 May 2004 21:28:00 +0000
(21:28 +0000)
committer
brian
<brian@brianweb.net>
Sun, 30 May 2004 21:28:00 +0000
(21:28 +0000)
darcs-hash:
20040530212800
-24bed-
8bf01c826b520ddeb75b9cba8feb905bcfdc140d
.gz
src/org/ibex/classgen/MethodGen.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/classgen/MethodGen.java
b/src/org/ibex/classgen/MethodGen.java
index
0fc3074
..
0fc8606
100644
(file)
--- a/
src/org/ibex/classgen/MethodGen.java
+++ b/
src/org/ibex/classgen/MethodGen.java
@@
-217,7
+217,6
@@
public class MethodGen implements CGConst {
public static class TSI extends SI {
public final int lo;
public final int hi;
- public int defaultTarget = -1;
public TSI(int lo, int hi) {
super(hi-lo+1);
this.lo = lo;
@@
-397,6
+396,7
@@
public class MethodGen implements CGConst {
if(pair.i1 > 255 || pair.i2 < -128 || pair.i2 > 127) throw new ClassGen.Exn("overflow of iinc arg");
o.writeByte(pair.i1);
o.writeByte(pair.i2);
+ break;
}
case TABLESWITCH:
case LOOKUPSWITCH: {