Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/TableSwitch.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 |
---|---|
78 out.print("tableswitch "); | 78 out.print("tableswitch "); |
79 out.println(value()); | 79 out.println(value()); |
80 int l = numberOfCases(); | 80 int l = numberOfCases(); |
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)); |
84 } | 84 } |
85 INSTRUCTION.advance(out); | 85 INSTRUCTION.advance(out); |
86 out.print("default : ").print(defaultSuccessor()); | 86 out.print("default : ").print(defaultSuccessor()); |
87 } | 87 } |
88 } | 88 } |