projects
/
sbp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add intermediate result between a Node and the "also"s it spawns
[sbp.git]
/
src
/
edu
/
berkeley
/
sbp
/
Node.java
diff --git
a/src/edu/berkeley/sbp/Node.java
b/src/edu/berkeley/sbp/Node.java
index
8710863
..
b360071
100644
(file)
--- 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.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)
state.invokeReductions(phase().token, this, true, null);
if (!fromEmptyReduction)