From 0861c02e22346b42e3ab0c683d4236f5452cfd27 Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 4 Jul 2005 23:11:27 +0000 Subject: [PATCH] way more phi/branching stuff; almost complete darcs-hash:20050704231127-5007d-433b8022f17dc246983ce353a05713a34f2a8f32.gz --- src/org/ibex/classgen/JSSA.java | 162 +++++++++++++++++++++------------------ 1 file changed, 88 insertions(+), 74 deletions(-) diff --git a/src/org/ibex/classgen/JSSA.java b/src/org/ibex/classgen/JSSA.java index 16af019..513cab7 100644 --- a/src/org/ibex/classgen/JSSA.java +++ b/src/org/ibex/classgen/JSSA.java @@ -13,32 +13,31 @@ public class JSSA extends MethodGen implements CGConst { public JSSA(Type.Class c, DataInput in, ConstantPool cp) throws IOException { super(c, in, cp); - locals = new Phi[size()][maxLocals]; - stacks = new Phi[size()][maxStack]; - sps = new int [size()]; - sps[0] = 0; - int n=0; - locals[0] = new Phi[maxLocals]; - if (!isStatic()) - locals[0][n++] = phi(new Argument("this",method.getDeclaringClass())); - for(int i=0;i