comparison graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java @ 2788:df4c5254c5cc

Towards goto removal.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 25 May 2011 14:33:44 +0200
parents 915456e4959e
children
comparison
equal deleted inserted replaced
2785:847dcd4dbd4c 2788:df4c5254c5cc
172 172
173 builder.append("]"); 173 builder.append("]");
174 if (end() != null) { 174 if (end() != null) {
175 builder.append(" -> "); 175 builder.append(" -> ");
176 boolean hasSucc = false; 176 boolean hasSucc = false;
177 for (BlockBegin s : end().blockSuccessors()) { 177 for (Instruction s : end().blockSuccessors()) {
178 if (hasSucc) { 178 if (hasSucc) {
179 builder.append(", "); 179 builder.append(", ");
180 } 180 }
181 builder.append("#"); 181 builder.append("#");
182 builder.append(s.blockID); 182 builder.append(s.id());
183 hasSucc = true; 183 hasSucc = true;
184 } 184 }
185 } 185 }
186 return builder.toString(); 186 return builder.toString();
187 } 187 }