Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/ComputeLinearScanOrder.java @ 2516:a384fac3fd34
Removed anything OSR-related.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 15:49:27 +0200 |
parents | 16b9a8b5ad39 |
children | 4a36a0bd6d18 |
comparison
equal
deleted
inserted
replaced
2515:4fdef1464592 | 2516:a384fac3fd34 |
---|---|
258 TTY.println(" processing B%d", cur.blockID); | 258 TTY.println(" processing B%d", cur.blockID); |
259 } | 259 } |
260 assert isBlockInLoop(loopIdx, cur) : "bit in loop map must be set when block is in work list"; | 260 assert isBlockInLoop(loopIdx, cur) : "bit in loop map must be set when block is in work list"; |
261 | 261 |
262 // recursive processing of all predecessors ends when start block of loop is reached | 262 // recursive processing of all predecessors ends when start block of loop is reached |
263 if (cur != loopStart && !cur.checkBlockFlag(BlockBegin.BlockFlag.OsrEntry)) { | 263 if (cur != loopStart) { |
264 for (int j = cur.numberOfPreds() - 1; j >= 0; j--) { | 264 for (int j = cur.numberOfPreds() - 1; j >= 0; j--) { |
265 BlockBegin pred = cur.predAt(j); | 265 BlockBegin pred = cur.predAt(j); |
266 | 266 |
267 if (!isBlockInLoop(loopIdx, pred)) { | 267 if (!isBlockInLoop(loopIdx, pred)) { |
268 // this predecessor has not been processed yet, so add it to work list | 268 // this predecessor has not been processed yet, so add it to work list |