Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java @ 2703:42450f536d24
More cleanup towards separation of graphbuilding<>graph<>lirgeneration
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 18 May 2011 17:04:47 +0200 |
parents | d06cff53b77e |
children | efbdb3ea95c9 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java Wed May 18 16:25:33 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java Wed May 18 17:04:47 2011 +0200 @@ -460,14 +460,6 @@ } } - public boolean isBackwardBranchTarget() { - return checkBlockFlag(BlockFlag.BackwardBranchTarget); - } - - public void setBackwardBranchTarget(boolean value) { - setBlockFlag(BlockFlag.BackwardBranchTarget, value); - } - public boolean isCriticalEdgeSplit() { return checkBlockFlag(BlockFlag.CriticalEdgeSplit); } @@ -512,18 +504,10 @@ return checkBlockFlag(BlockFlag.LinearScanLoopHeader); } - public void setLinearScanLoopHeader(boolean value) { - setBlockFlag(BlockFlag.LinearScanLoopHeader, value); - } - public boolean isLinearScanLoopEnd() { return checkBlockFlag(BlockFlag.LinearScanLoopEnd); } - public void setLinearScanLoopEnd(boolean value) { - setBlockFlag(BlockFlag.LinearScanLoopEnd, value); - } - private void setBlockFlag(BlockFlag flag, boolean value) { if (value) { setBlockFlag(flag); @@ -532,12 +516,6 @@ } } - public void copyBlockFlags(BlockBegin other) { - copyBlockFlag(other, BlockBegin.BlockFlag.ParserLoopHeader); - copyBlockFlag(other, BlockBegin.BlockFlag.ExceptionEntry); - copyBlockFlag(other, BlockBegin.BlockFlag.WasVisited); - } - @Override public String toString() { StringBuilder builder = new StringBuilder(); @@ -641,22 +619,6 @@ return predecessors.get(j); } - public int firstLirInstructionId() { - return lirBlock.firstLirInstructionID; - } - - public void setFirstLirInstructionId(int firstLirInstructionId) { - lirBlock.firstLirInstructionID = firstLirInstructionId; - } - - public int lastLirInstructionId() { - return lirBlock.lastLirInstructionID; - } - - public void setLastLirInstructionId(int lastLirInstructionId) { - lirBlock.lastLirInstructionID = lastLirInstructionId; - } - public boolean isPredecessor(BlockEnd block) { // assert predecessors.contains(block) == predecessors().contains(block); return predecessors.contains(block); @@ -675,9 +637,6 @@ if (isParserLoopHeader()) { sb.append("LH"); } - if (isBackwardBranchTarget()) { - sb.append('b'); - } if (wasVisited()) { sb.append('V'); }