Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/TableSwitch.java @ 2779:93ec3f067420
Changed CriticalEdgeFinder to use LIRBlock.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 25 May 2011 11:04:59 +0200 |
parents | 398b8fa5dc81 |
children | d3fc4fe063bf |
comparison
equal
deleted
inserted
replaced
2778:2ac7b30b7290 | 2779:93ec3f067420 |
---|---|
81 for (int i = 0; i < l; i++) { | 81 for (int i = 0; i < l; i++) { |
82 INSTRUCTION.advance(out); | 82 INSTRUCTION.advance(out); |
83 out.printf("case %5d: B%d%n", lowKey() + i, blockSuccessors().get(i).blockID); | 83 out.printf("case %5d: B%d%n", lowKey() + i, blockSuccessors().get(i).blockID); |
84 } | 84 } |
85 INSTRUCTION.advance(out); | 85 INSTRUCTION.advance(out); |
86 out.print("default : B").print(defaultSuccessor().blockID); | 86 out.print("default : ").print(defaultSuccessor()); |
87 } | 87 } |
88 } | 88 } |