Mercurial > hg > graal-compiler
changeset 2735:d913f3049cee
Removed depth first number from BlockBegin.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Thu, 19 May 2011 17:45:00 +0200 |
parents | e40c665e6f86 |
children | 03b80fb10ae9 |
files | graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java |
diffstat | 2 files changed, 0 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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; }