comparison graal/GraalCompiler/src/com/sun/c1x/ir/LookupSwitch.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
78 } 78 }
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", keyAt(i), successors().get(i).blockID); 83 out.printf("case %5d: B%d%n", keyAt(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 : B").print(defaultSuccessor().blockID);
87 } 87 }
88 } 88 }