From cb973f6697bbb6245407311e6092b16410679ed7 Mon Sep 17 00:00:00 2001 From: brian Date: Sun, 30 May 2004 21:28:00 +0000 Subject: [PATCH] fix iinc bug darcs-hash:20040530212800-24bed-8bf01c826b520ddeb75b9cba8feb905bcfdc140d.gz --- src/org/ibex/classgen/MethodGen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/ibex/classgen/MethodGen.java b/src/org/ibex/classgen/MethodGen.java index 0fc3074..0fc8606 100644 --- 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: { -- 1.7.10.4