From 69965bfd571a733f573e2adc7fae06a653c83cae Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 4 Jan 2006 05:43:05 -0500 Subject: [PATCH] checkpoint darcs-hash:20060104104305-5007d-2f24ee591a0d28868417efe5c59d34097361d49d.gz --- src/edu/berkeley/sbp/GSS.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/edu/berkeley/sbp/GSS.java b/src/edu/berkeley/sbp/GSS.java index 3c1b9da..5847d6b 100644 --- a/src/edu/berkeley/sbp/GSS.java +++ b/src/edu/berkeley/sbp/GSS.java @@ -186,8 +186,6 @@ class GSS { private Forest.Ref holder = null; private boolean allqueued = false; - private HashMap cache = null; - /** the set of nodes to which there is an edge starting at this node */ //public final FastSet parents = new FastSet(); /* ALLOC */ @@ -197,14 +195,10 @@ class GSS { /** which Phase this Node belongs to (node that Node is also a non-static inner class of Phase) */ public Phase phase() { return Phase.this; } - public HashMap cache() { - return cache==null ? (cache = new HashMap()) : cache; - } public Forest.Ref holder() { return holder==null ? (holder = new Forest.Ref()) : holder; } public Forest pending() { return Phase.this.closed ? holder().resolve() : holder; } public FastSet parents() { return this; } - /** FIXME */ public void queueReductions() { if (allqueued) return; allqueued = true; @@ -214,7 +208,6 @@ class GSS { r.reduce(this, null, null); } - /** FIXME */ public void queueReductions(Node n2) { if (!allqueued) { queueReductions(); return; } for(Parser.Table.Reduction r : state.getReductions(token)) @@ -223,7 +216,6 @@ class GSS { } - /** FIXME */ public void queueEmptyReductions() { if (reducing) for(Parser.Table.Reduction r : token==null ? state.getEofReductions() : state.getReductions(token)) -- 1.7.10.4