Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/lir/LIRList.java @ 2725:c379183d1c54
Removed target block references from LIR to BlockBegin instructions. Now there is a getLIRBlock method in the LIRGenerator.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Thu, 19 May 2011 16:56:05 +0200 |
parents | c1ce2a53d6c3 |
children | a2f62de90c76 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/lir/LIRList.java Thu May 19 16:46:37 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/lir/LIRList.java Thu May 19 16:56:05 2011 +0200 @@ -248,7 +248,7 @@ append(new LIROp2(LIROpcode.Rem, left, right, res, info)); } - public void jump(BlockBegin block) { + public void jump(LIRBlock block) { append(new LIRBranch(Condition.TRUE, CiKind.Illegal, block)); } @@ -260,17 +260,17 @@ append(new LIRBranch(cond, lbl, info)); } - public void branch(Condition cond, CiKind kind, BlockBegin block) { + public void branch(Condition cond, CiKind kind, LIRBlock block) { assert kind != CiKind.Float && kind != CiKind.Double : "no fp comparisons"; append(new LIRBranch(cond, kind, block)); } - public void branch(Condition cond, CiKind kind, BlockBegin block, BlockBegin unordered) { + public void branch(Condition cond, CiKind kind, LIRBlock block, LIRBlock unordered) { assert kind == CiKind.Float || kind == CiKind.Double : "fp comparisons only"; append(new LIRBranch(cond, kind, block, unordered)); } - public void tableswitch(CiValue index, int lowKey, BlockBegin defaultTargets, BlockBegin[] targets) { + public void tableswitch(CiValue index, int lowKey, LIRBlock defaultTargets, LIRBlock[] targets) { append(new LIRTableSwitch(index, lowKey, defaultTargets, targets)); }