Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java @ 2724:e2d20fc3760f
Removed last BlockBegin flag.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Thu, 19 May 2011 16:46:37 +0200 |
parents | c1ce2a53d6c3 |
children | 027adfafd47e a2f62de90c76 |
comparison
equal
deleted
inserted
replaced
2723:173067211acb | 2724:e2d20fc3760f |
---|---|
153 blockList = new BlockBegin[rootMethod.code().length]; | 153 blockList = new BlockBegin[rootMethod.code().length]; |
154 for (int i = 0; i < blockMap.blocks.size(); i++) { | 154 for (int i = 0; i < blockMap.blocks.size(); i++) { |
155 BlockMap.Block block = blockMap.blocks.get(i); | 155 BlockMap.Block block = blockMap.blocks.get(i); |
156 BlockBegin blockBegin = new BlockBegin(block.startBci, ir.nextBlockNumber(), graph); | 156 BlockBegin blockBegin = new BlockBegin(block.startBci, ir.nextBlockNumber(), graph); |
157 if (block.isLoopHeader) { | 157 if (block.isLoopHeader) { |
158 blockBegin.setBlockFlag(BlockBegin.BlockFlag.ParserLoopHeader); | 158 blockBegin.setParserLoopHeader(true); |
159 } | 159 } |
160 blockBegin.setDepthFirstNumber(blockBegin.blockID); | 160 blockBegin.setDepthFirstNumber(blockBegin.blockID); |
161 blockList[block.startBci] = blockBegin; | 161 blockList[block.startBci] = blockBegin; |
162 } | 162 } |
163 | 163 |