# HG changeset patch # User Thomas Wuerthinger # Date 1305881380 -7200 # Node ID bdaf31906620c6d93c11a8c70fef3102897b7d46 # Parent 88123130ede666a3fd06b938265f31e74abe3d2b Clean up. diff -r 88123130ede6 -r bdaf31906620 graal/GraalCompiler/src/com/sun/c1x/value/FrameState.java --- a/graal/GraalCompiler/src/com/sun/c1x/value/FrameState.java Fri May 20 10:46:15 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/value/FrameState.java Fri May 20 10:49:40 2011 +0200 @@ -225,7 +225,7 @@ * @param i the index into the locals * @return the instruction that produced the value for the specified local */ - public final Value localAt(int i) { + public Value localAt(int i) { assert i < localsSize : "local variable index out of range: " + i; return (Value) inputs().get(i); } @@ -236,7 +236,7 @@ * @param i the index into the stack, with {@code 0} being the bottom of the stack * @return the instruction at the specified position in the stack */ - public final Value stackAt(int i) { + public Value stackAt(int i) { assert i >= 0 && i < (localsSize + stackSize); return (Value) inputs().get(localsSize + i); } @@ -246,7 +246,7 @@ * @param i the index into the lock stack * @return the instruction which produced the object at the specified location in the lock stack */ - public final Value lockAt(int i) { + public Value lockAt(int i) { assert i >= 0; return (Value) inputs().get(localsSize + stackSize + i); } @@ -295,7 +295,7 @@ * @param i a value in the range {@code [0 .. valuesSize()]} * @return the value at index {@code i} which may be {@code null} */ - public final Value valueAt(int i) { + public Value valueAt(int i) { assert i < (localsSize + stackSize); return (Value) inputs().get(i); } @@ -308,7 +308,7 @@ * * @return the number of local variables in this frame */ - public final int valuesSize() { + public int valuesSize() { return localsSize + stackSize; } @@ -405,7 +405,7 @@ * * @param proc the call back called to process each live value traversed */ - public final void forEachLiveStateValue(ValueProcedure proc) { + public void forEachLiveStateValue(ValueProcedure proc) { for (int i = 0; i < valuesSize(); i++) { Value value = valueAt(i); if (value != null) { diff -r 88123130ede6 -r bdaf31906620 graal/GraalGraph/src/com/oracle/graal/graph/Graph.java --- a/graal/GraalGraph/src/com/oracle/graal/graph/Graph.java Fri May 20 10:46:15 2011 +0200 +++ b/graal/GraalGraph/src/com/oracle/graal/graph/Graph.java Fri May 20 10:49:40 2011 +0200 @@ -56,11 +56,11 @@ public Root root() { return root; } - + public NodeBitMap createNodeBitMap() { return new NodeBitMap(); } - + public NodeMap createNodeMap() { return new NodeMap(); }