Mercurial > hg > truffle
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/AbstractMergeNode.java @ 21234:4e5fe228f629
Add AbstractMergeNode#valuePhis.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Tue, 05 May 2015 13:07:06 +0200 |
parents | a4aa2116cfe0 |
children | b1530a6cce8c |
comparison
equal
deleted
inserted
replaced
21233:7c16a6832f30 | 21234:4e5fe228f629 |
---|---|
131 | 131 |
132 public NodeIterable<PhiNode> phis() { | 132 public NodeIterable<PhiNode> phis() { |
133 return this.usages().filter(PhiNode.class).filter(this::isPhiAtMerge); | 133 return this.usages().filter(PhiNode.class).filter(this::isPhiAtMerge); |
134 } | 134 } |
135 | 135 |
136 public NodeIterable<ValuePhiNode> valuePhis() { | |
137 return this.usages().filter(ValuePhiNode.class).filter(this::isPhiAtMerge); | |
138 } | |
139 | |
136 @Override | 140 @Override |
137 public NodeIterable<Node> anchored() { | 141 public NodeIterable<Node> anchored() { |
138 return super.anchored().filter(n -> !isPhiAtMerge(n)); | 142 return super.anchored().filter(n -> !isPhiAtMerge(n)); |
139 } | 143 } |
140 | 144 |