Mercurial > hg > truffle
comparison graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/phases/GraphBuilderPhase.java @ 2945:41318fcb6b56
Added two algorithms for identifying Java-level blocks.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Thu, 09 Jun 2011 18:59:28 +0200 |
parents | cc4b538852e3 |
children | c76db61fbb73 |
comparison
equal
deleted
inserted
replaced
2944:cc4b538852e3 | 2945:41318fcb6b56 |
---|---|
1260 | 1260 |
1261 traceState(); | 1261 traceState(); |
1262 traceInstruction(bci, opcode, blockStart); | 1262 traceInstruction(bci, opcode, blockStart); |
1263 processBytecode(bci, opcode); | 1263 processBytecode(bci, opcode); |
1264 | 1264 |
1265 if (Schedule.isBlockEnd(lastInstr) || lastInstr.next() != null) { | 1265 if (IdentifyBlocksPhase.isBlockEnd(lastInstr) || lastInstr.next() != null) { |
1266 break; | 1266 break; |
1267 } | 1267 } |
1268 | 1268 |
1269 stream.next(); | 1269 stream.next(); |
1270 bci = stream.currentBCI(); | 1270 bci = stream.currentBCI(); |