# HG changeset patch # User Lukas Stadler # Date 1357900736 -3600 # Node ID 501d254a0a3dab40fe3e9ad3041346e7bfd8ddda # Parent ffa9d429550ef9f801475b2ed95dd22044a121bd typos and unused code diff -r ffa9d429550e -r 501d254a0a3d graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PiNode.java --- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PiNode.java Fri Jan 11 11:38:17 2013 +0100 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PiNode.java Fri Jan 11 11:38:56 2013 +0100 @@ -59,7 +59,7 @@ @Override public boolean inferStamp() { if (object().objectStamp().alwaysNull() && objectStamp().nonNull()) { - // a null value flowing into a nonNull PiNode can happen should be guarded by a type/isNull guard, but the + // a null value flowing into a nonNull PiNode should be guarded by a type/isNull guard, but the // compiler might see this situation before the branch is deleted return false; } diff -r ffa9d429550e -r 501d254a0a3d graal/com.oracle.graal.phases/src/com/oracle/graal/phases/util/GraphOrder.java --- a/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/util/GraphOrder.java Fri Jan 11 11:38:17 2013 +0100 +++ b/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/util/GraphOrder.java Fri Jan 11 11:38:56 2013 +0100 @@ -34,20 +34,6 @@ private GraphOrder() { } - public GraphOrder(Graph graph) { - NodeBitMap visited = graph.createNodeBitMap(); - - for (ReturnNode node : graph.getNodes(ReturnNode.class)) { - visitForward(visited, node); - } - for (UnwindNode node : graph.getNodes(UnwindNode.class)) { - visitForward(visited, node); - } - for (DeoptimizeNode node : graph.getNodes(DeoptimizeNode.class)) { - visitForward(visited, node); - } - } - public static GraphOrder forwardGraph(Graph graph) { GraphOrder result = new GraphOrder();