From: brian Date: Sun, 3 Jul 2005 20:34:57 +0000 (+0000) Subject: get maxStack/maxLocals from MethodGen X-Git-Url: http://git.megacz.com/?p=org.ibex.classgen.git;a=commitdiff_plain;h=20ae2b199fd34e70f56572caaeb38738ea1f96fc get maxStack/maxLocals from MethodGen darcs-hash:20050703203457-24bed-09ea083daf393328ed05066f6107a810f3c57d7b.gz --- diff --git a/src/org/ibex/classgen/JSSA.java b/src/org/ibex/classgen/JSSA.java index 55c6793..b8e57ca 100644 --- a/src/org/ibex/classgen/JSSA.java +++ b/src/org/ibex/classgen/JSSA.java @@ -13,6 +13,8 @@ public class JSSA extends MethodGen implements CGConst { public JSSA(Type.Class c, DataInput in, ConstantPool cp) throws IOException { super(c, in, cp); + local = new Expr[maxLocals]; + stack = new Expr[maxStack]; for(int i=0; i