# HG changeset patch # User Gilles Duboscq # Date 1341304318 -7200 # Node ID e17ab95e06aadf02139ce42fd88c536d79f17d39 # Parent a8c6104ef526daa830e54f65d0e211b5b2e6720b Help javac with generics diff -r a8c6104ef526 -r e17ab95e06aa graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/loop/LoopFragmentWhole.java --- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/loop/LoopFragmentWhole.java Mon Jul 02 18:20:25 2012 +0200 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/loop/LoopFragmentWhole.java Tue Jul 03 10:31:58 2012 +0200 @@ -80,7 +80,8 @@ public FixedNode entryPoint() { if (isDuplicate()) { - return getDuplicatedNode(original().loop().loopBegin()).forwardEnd(); + LoopBeginNode newLoopBegin = getDuplicatedNode(original().loop().loopBegin()); + return newLoopBegin.forwardEnd(); } return loop().entryPoint(); }