From: adam Date: Mon, 26 Feb 2007 01:24:06 +0000 (-0500) Subject: add intermediate result between a Node and the "also"s it spawns X-Git-Url: http://git.megacz.com/?p=sbp.git;a=commitdiff_plain;h=0a543da83c6f21d79b6682415327b52abca38362 add intermediate result between a Node and the "also"s it spawns darcs-hash:20070226012406-5007d-162be5177239df1a2e10d98b1eab7fe8dae335bd.gz --- diff --git a/src/edu/berkeley/sbp/Node.java b/src/edu/berkeley/sbp/Node.java index 8710863..b360071 100644 --- a/src/edu/berkeley/sbp/Node.java +++ b/src/edu/berkeley/sbp/Node.java @@ -76,7 +76,7 @@ final class Node phase.hash.put(state, result.phase(), this); for(Object s : state.also) - phase.newNode(result, (State)s, fromEmptyReduction); + phase.newNode(new Result(null, this, null), (State)s, fromEmptyReduction); state.invokeReductions(phase().token, this, true, null); if (!fromEmptyReduction)