Mercurial > hg > graal-jvmci-8
changeset 2727:1ddcbcd33325
Clean up.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Thu, 19 May 2011 17:04:30 +0200 |
parents | 819a40e46826 |
children | 7e470e1cd3b6 |
files | graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRGenerator.java |
diffstat | 3 files changed, 2 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java Thu May 19 17:02:12 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java Thu May 19 17:04:30 2011 +0200 @@ -598,7 +598,7 @@ } } - private LIRBlock getLIRBlock(BlockBegin b) { + protected LIRBlock getLIRBlock(BlockBegin b) { return b.lirBlock(); }
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java Thu May 19 17:02:12 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java Thu May 19 17:04:30 2011 +0200 @@ -115,7 +115,7 @@ this.blockID = blockID; depthFirstNumber = -1; linearScanNumber = -1; - setBCI(bci); + this.bci = bci; } /** @@ -232,14 +232,6 @@ return bci; } - /** - * Sets the bytecode index of this instruction. - * @param bci the new bytecode index for this instruction - */ - public void setBCI(int bci) { - this.bci = bci; - } - private void iterate(IdentityHashMap<BlockBegin, BlockBegin> mark, BlockClosure closure) { if (!mark.containsKey(this)) { mark.put(this, this);
--- a/graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRGenerator.java Thu May 19 17:02:12 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRGenerator.java Thu May 19 17:04:30 2011 +0200 @@ -514,10 +514,6 @@ lir.jump(getLIRBlock(x.defaultSuccessor())); } - private LIRBlock getLIRBlock(BlockBegin b) { - return b.lirBlock(); - } - @Override public void visitExceptionDispatch(ExceptionDispatch x) { // TODO ls: this needs some more work...