# HG changeset patch # User Thomas Wuerthinger # Date 1422454074 -3600 # Node ID 687479c0cd3e097ea0d071d677c627b8c1695861 # Parent f1b9a421ebd8cc3fa0e8b8b0e93560bfe26ad6af Process inputs of ProxyNodes in the scheduler. diff -r f1b9a421ebd8 -r 687479c0cd3e graal/com.oracle.graal.phases/src/com/oracle/graal/phases/schedule/SchedulePhase.java --- a/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/schedule/SchedulePhase.java Wed Jan 28 14:24:16 2015 +0100 +++ b/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/schedule/SchedulePhase.java Wed Jan 28 15:07:54 2015 +0100 @@ -1068,7 +1068,13 @@ } private void addToLatestSorting(ValueNode i, SortState state) { - if (i == null || state.isVisited(i) || cfg.getNodeToBlock().get(i) != state.currentBlock() || i instanceof PhiNode || i instanceof ProxyNode) { + if (i == null || state.isVisited(i) || cfg.getNodeToBlock().get(i) != state.currentBlock() || i instanceof PhiNode) { + return; + } + + if (i instanceof ProxyNode) { + ProxyNode proxyNode = (ProxyNode) i; + addToLatestSorting(proxyNode.value(), state); return; }