Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/ir/ComputeLinearScanOrder.java @ 2788:df4c5254c5cc
Towards goto removal.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 25 May 2011 14:33:44 +0200 |
parents | 2ac7b30b7290 |
children | 775c31be565c |
comparison
equal
deleted
inserted
replaced
2785:847dcd4dbd4c | 2788:df4c5254c5cc |
---|---|
459 TTY.println("----- computing final block order"); | 459 TTY.println("----- computing final block order"); |
460 } | 460 } |
461 | 461 |
462 // the start block is always the first block in the linear scan order | 462 // the start block is always the first block in the linear scan order |
463 linearScanOrder = new ArrayList<LIRBlock>(numBlocks); | 463 linearScanOrder = new ArrayList<LIRBlock>(numBlocks); |
464 appendBlock(startBlock); | 464 // appendBlock(startBlock); |
465 | 465 |
466 LIRBlock stdEntry = startBlock.suxAt(0); | 466 LIRBlock stdEntry = startBlock; //.suxAt(0); |
467 | 467 |
468 // start processing with standard entry block | 468 // start processing with standard entry block |
469 assert workList.isEmpty() : "list must be empty before processing"; | 469 assert workList.isEmpty() : "list must be empty before processing"; |
470 | 470 |
471 if (readyForProcessing(stdEntry)) { | 471 if (readyForProcessing(stdEntry)) { |