Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/graph/CriticalEdgeFinder.java @ 2796:d6bf240963fb
Rename Goto to Anchor
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Fri, 27 May 2011 11:42:16 +0200 |
parents | 50677668afe3 |
children | 2af109bec0c0 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/graph/CriticalEdgeFinder.java Fri May 27 11:29:28 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/graph/CriticalEdgeFinder.java Fri May 27 11:42:16 2011 +0200 @@ -104,7 +104,7 @@ lirBlocks.add(newSucc); // This goto is not a safepoint. - Goto e = new Goto(null, graph); + Anchor e = new Anchor(null, graph); Instruction sourceInstruction = source.getInstructions().get(source.getInstructions().size() - 1); Instruction targetInstruction = target.getInstructions().get(0); int sourceInstructionPredIndex = targetInstruction.predecessors().indexOf(sourceInstruction);