Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/ir/LookupSwitch.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 |
---|---|
79 for (int i = 0; i < l; i++) { | 79 for (int i = 0; i < l; i++) { |
80 INSTRUCTION.advance(out); | 80 INSTRUCTION.advance(out); |
81 out.printf("case %5d: B%d%n", keyAt(i), blockSuccessors().get(i).blockID); | 81 out.printf("case %5d: B%d%n", keyAt(i), blockSuccessors().get(i).blockID); |
82 } | 82 } |
83 INSTRUCTION.advance(out); | 83 INSTRUCTION.advance(out); |
84 out.print("default : B").print(defaultSuccessor().blockID); | 84 out.print("default : ").print(defaultSuccessor()); |
85 } | 85 } |
86 } | 86 } |