Mercurial > hg > truffle
comparison graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/gen/LIRGenerator.java @ 7353:b5280041f59e
Experiment with soft alignment for branch targets.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 13 Jan 2013 19:32:16 +0100 |
parents | edb4951bc8b5 |
children | 4c6e577d0c01 |
comparison
equal
deleted
inserted
replaced
7352:00e3c2e4e43c | 7353:b5280041f59e |
---|---|
280 currentBlock = block; | 280 currentBlock = block; |
281 // set up the list of LIR instructions | 281 // set up the list of LIR instructions |
282 assert lir.lir(block) == null : "LIR list already computed for this block"; | 282 assert lir.lir(block) == null : "LIR list already computed for this block"; |
283 lir.setLir(block, new ArrayList<LIRInstruction>()); | 283 lir.setLir(block, new ArrayList<LIRInstruction>()); |
284 | 284 |
285 append(new LabelOp(new Label(), block.align)); | 285 append(new LabelOp(new Label(), block.align, block.softAlign)); |
286 | 286 |
287 if (GraalOptions.TraceLIRGeneratorLevel >= 1) { | 287 if (GraalOptions.TraceLIRGeneratorLevel >= 1) { |
288 TTY.println("BEGIN Generating LIR for block B" + block.getId()); | 288 TTY.println("BEGIN Generating LIR for block B" + block.getId()); |
289 } | 289 } |
290 | 290 |