Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/ir/BlockEnd.java @ 2790:50677668afe3
Towards making goto removal work.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 25 May 2011 19:29:40 +0200 |
parents | df4c5254c5cc |
children | d3fc4fe063bf |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/BlockEnd.java Wed May 25 16:48:28 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/BlockEnd.java Wed May 25 19:29:40 2011 +0200 @@ -142,18 +142,6 @@ } /** - * This method reorders the predecessors of the i-th successor in such a way that this BlockEnd is at position backEdgeIndex. - */ - public void reorderSuccessor(int i, int backEdgeIndex) { - assert i >= 0 && i < blockSuccessorCount; - Instruction successor = blockSuccessor(i); - if (successor != null) { - successors().set(super.successorCount() + SUCCESSOR_COUNT + i, Node.Null); - successors().set(super.successorCount() + SUCCESSOR_COUNT + i, successor, backEdgeIndex); - } - } - - /** * Gets this block end's list of successors. * @return the successor list */