OpenJDK / graal / graal-jvmci-8
changeset 2985:ce38e01aa596
LoopEnd should be scheduled at the end of a block
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Wed, 15 Jun 2011 19:55:14 +0200 |
parents | f49685081630 |
children | ed63c8695fad |
files | graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/schedule/IdentifyBlocksPhase.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/schedule/IdentifyBlocksPhase.java Wed Jun 15 19:54:42 2011 +0200 +++ b/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/schedule/IdentifyBlocksPhase.java Wed Jun 15 19:55:14 2011 +0200 @@ -355,7 +355,7 @@ if (b.firstNode() == b.lastNode()) { Node node = b.firstNode(); - if (!(node instanceof Merge)) { + if (!(node instanceof Merge) || node instanceof LoopEnd) { scheduleFirst = false; } }