Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/LookupSwitch.java @ 2793:d3fc4fe063bf
Rename BlockBegin to Merge, remove some Block related member from it. Made CFGPrinter work with the Block class from schedule
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Fri, 27 May 2011 11:08:55 +0200 |
parents | 93ec3f067420 |
children | bd17ac598c6e |
comparison
equal
deleted
inserted
replaced
2792:2f3258e3800e | 2793:d3fc4fe063bf |
---|---|
76 out.print("lookupswitch "); | 76 out.print("lookupswitch "); |
77 out.println(value()); | 77 out.println(value()); |
78 int l = numberOfCases(); | 78 int l = numberOfCases(); |
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)); |
82 } | 82 } |
83 INSTRUCTION.advance(out); | 83 INSTRUCTION.advance(out); |
84 out.print("default : ").print(defaultSuccessor()); | 84 out.print("default : ").print(defaultSuccessor()); |
85 } | 85 } |
86 } | 86 } |