Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/graph/IR.java @ 2805:c3f64b66fc78
Towards removing the next pointer from Constant and ArithmeticOp
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Fri, 27 May 2011 19:57:56 +0200 |
parents | 2af109bec0c0 |
children | 50b5db2c3e68 |
comparison
equal
deleted
inserted
replaced
2804:095162a84dcc | 2805:c3f64b66fc78 |
---|---|
88 LIRBlock block = new LIRBlock(b.blockID()); | 88 LIRBlock block = new LIRBlock(b.blockID()); |
89 block.setExceptionEntry(b.isExceptionEntry()); | 89 block.setExceptionEntry(b.isExceptionEntry()); |
90 map.put(b, block); | 90 map.put(b, block); |
91 block.setInstructions(b.getInstructions()); | 91 block.setInstructions(b.getInstructions()); |
92 block.setLinearScanNumber(b.blockID()); | 92 block.setLinearScanNumber(b.blockID()); |
93 | |
94 block.setFirstInstruction(b.firstNode()); | |
95 block.setLastInstruction(b.lastNode()); | |
93 lirBlocks.add(block); | 96 lirBlocks.add(block); |
94 } | 97 } |
95 | 98 |
96 for (Block b : blocks) { | 99 for (Block b : blocks) { |
97 for (Block succ : b.getSuccessors()) { | 100 for (Block succ : b.getSuccessors()) { |