checkpoint
[sbp.git] / src / edu / berkeley / sbp / GSS.java
index 9075f41..816c086 100644 (file)
@@ -133,8 +133,7 @@ class GSS {
                             }
                 }
             }
                             }
                 }
             }
-            if (!owner.lame)
-                newNode(parent, pending, state, fromEmptyReduction);
+            newNode(parent, pending, state, fromEmptyReduction);
             if (reduction != null) {
                 boolean redo = true;
                 while(redo) {
             if (reduction != null) {
                 boolean redo = true;
                 while(redo) {
@@ -344,7 +343,7 @@ class GSS {
                     for(Node child : ((Forest.Many<?>)result).parents) {
                         if (only != null && child!=only) continue;
                         holder[pos] = result;
                     for(Node child : ((Forest.Many<?>)result).parents) {
                         if (only != null && child!=only) continue;
                         holder[pos] = result;
-                        if (pos==0) child.finish(r, r.rewrite(new Input.Region(child.phase().getLocation(), phase().getLocation())), target);
+                        if (pos==0) child.finish(r, r.rewrite(child.phase().getLocation().createRegion(phase().getLocation())), target);
                         else        child.reduce(r, pos-1, target, null);
                     }
 
                         else        child.reduce(r, pos-1, target, null);
                     }