comparison graal/GraalCompiler/src/com/sun/c1x/ir/TableSwitch.java @ 2581:4a36a0bd6d18

added GraalGraph to classpath, Node as superclass of Value
author Lukas Stadler <lukas.stadler@jku.at>
date Thu, 05 May 2011 13:27:48 +0200
parents 16b9a8b5ad39
children 0c6564c254af
comparison
equal deleted inserted replaced
2579:4984c8ebd6c7 2581:4a36a0bd6d18
80 } 80 }
81 out.println(value()); 81 out.println(value());
82 int l = numberOfCases(); 82 int l = numberOfCases();
83 for (int i = 0; i < l; i++) { 83 for (int i = 0; i < l; i++) {
84 INSTRUCTION.advance(out); 84 INSTRUCTION.advance(out);
85 out.printf("case %5d: B%d%n", lowKey() + i, successors().get(i).blockID); 85 out.printf("case %5d: B%d%n", lowKey() + i, blockSuccessors().get(i).blockID);
86 } 86 }
87 INSTRUCTION.advance(out); 87 INSTRUCTION.advance(out);
88 out.print("default : B").print(defaultSuccessor().blockID); 88 out.print("default : B").print(defaultSuccessor().blockID);
89 } 89 }
90 } 90 }