comparison graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/match/MatchStatement.java @ 18941:c943ba97b2a7

Remove class ScheduledNode from the node class hierarchy.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sat, 24 Jan 2015 00:45:12 +0100
parents e98ccb0c3c05
children 6b73ce815fc2
comparison
equal deleted inserted replaced
18940:2ad82c6147f1 18941:c943ba97b2a7
78 * @param node the node to be matched 78 * @param node the node to be matched
79 * @param nodes the nodes in the current block 79 * @param nodes the nodes in the current block
80 * @return true if the statement matched something and set a {@link ComplexMatchResult} to be 80 * @return true if the statement matched something and set a {@link ComplexMatchResult} to be
81 * evaluated by the NodeLIRBuilder. 81 * evaluated by the NodeLIRBuilder.
82 */ 82 */
83 public boolean generate(NodeLIRBuilder builder, int index, ValueNode node, List<ScheduledNode> nodes) { 83 public boolean generate(NodeLIRBuilder builder, int index, ValueNode node, List<ValueNode> nodes) {
84 assert index == nodes.indexOf(node); 84 assert index == nodes.indexOf(node);
85 // Check that the basic shape matches 85 // Check that the basic shape matches
86 Result result = pattern.matchShape(node, this); 86 Result result = pattern.matchShape(node, this);
87 if (result != Result.OK) { 87 if (result != Result.OK) {
88 return false; 88 return false;