X-Git-Url: http://git.megacz.com/?p=org.ibex.classgen.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fclassgen%2Fopt%2FArena.java;fp=src%2Forg%2Fibex%2Fclassgen%2Fopt%2FArena.java;h=759db9ce1fbdb1eabbd415a18707627d25c8e175;hp=d053cb0dfffc1c87cd04dee772578ecb4f5c2588;hb=ee8153750ac8739205d01ef5db7968d34fdd316b;hpb=f09939c1ce3e404d5d4583480cab54244f27f8ef diff --git a/src/org/ibex/classgen/opt/Arena.java b/src/org/ibex/classgen/opt/Arena.java index d053cb0..759db9c 100644 --- a/src/org/ibex/classgen/opt/Arena.java +++ b/src/org/ibex/classgen/opt/Arena.java @@ -77,7 +77,7 @@ public class Arena implements CGConst { arenaInitBody.set(1, LDC, 0); arenaInitBody.set(2, PUTFIELD, sizeField); - Type.Class.Method incMethod = c.method(getGladiatorName(c) + "$$inc()I"); + Type.Class.Method incMethod = null; //c.method(getGladiatorName(c) + "$$inc()I"); MethodGen incBody = cx.resolve(c.getName()).addMethod(incMethod, PUBLIC); incBody.add(ALOAD_0); incBody.add(GETFIELD, outerClassField); @@ -99,7 +99,7 @@ public class Arena implements CGConst { if (f.getName().startsWith("this$")) continue; Type t = getSliceElementType(f.getType()); f = arena.field(getGladiatorName(c) + "$$" + f.getName(), t.makeArray()); - arenaBody.addField(f, PUBLIC); + //arenaBody.addField(f, PUBLIC); arenaInitBody.insertBlank(0); arenaInitBody.insertBlank(0);