# HG changeset patch # User Thomas Wuerthinger # Date 1305819900 -7200 # Node ID d913f3049ceefa2daff3c80f3c72c2cce0318068 # Parent e40c665e6f86c7270323e55656a5832c5e0f7656 Removed depth first number from BlockBegin. diff -r e40c665e6f86 -r d913f3049cee graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java --- a/graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java Thu May 19 17:43:12 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java Thu May 19 17:45:00 2011 +0200 @@ -163,7 +163,6 @@ // if (block.isLoopHeader) { BlockBegin blockBegin = new BlockBegin(block.startBci, ir.nextBlockNumber(), graph); - blockBegin.setDepthFirstNumber(blockBegin.blockID); block.firstInstruction = blockBegin; blockList[block.startBci] = block; diff -r e40c665e6f86 -r d913f3049cee graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java --- a/graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java Thu May 19 17:43:12 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java Thu May 19 17:45:00 2011 +0200 @@ -107,7 +107,6 @@ public BlockBegin(int bci, int blockID, Graph graph) { super(CiKind.Illegal, INPUT_COUNT, SUCCESSOR_COUNT, graph); this.blockID = blockID; - depthFirstNumber = -1; linearScanNumber = -1; this.bci = bci; } @@ -126,14 +125,6 @@ } /** - * Gets the depth first traversal number of this block. - * @return the depth first number - */ - public int depthFirstNumber() { - return depthFirstNumber; - } - - /** * Gets the linear scan number of this block. * @return the linear scan number */ @@ -141,11 +132,6 @@ return linearScanNumber; } - public void setDepthFirstNumber(int depthFirstNumber) { - assert depthFirstNumber >= 0; - this.depthFirstNumber = depthFirstNumber; - } - public void setLinearScanNumber(int linearScanNumber) { this.linearScanNumber = linearScanNumber; }