major overhaul to institute optimal GSS sharing
[sbp.git] / src / edu / berkeley / sbp / Reduction.java
index 4ef2013..222a168 100644 (file)
@@ -41,7 +41,8 @@ final class Reduction implements Comparable<Reduction> {
     }
 
     public void perform() {
-        Result.newResult(forest, pred, reduction, phase);
+        if (reduction==null) return;
+        phase.newNodeFromReduction(forest, reduction, pred);
     }
     public GSS.Phase predPhase() { return pred.phase(); }
     public Pos reduction() { return reduction; }