Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java Wed May 25 12:20:08 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java Wed May 25 14:33:44 2011 +0200 @@ -174,12 +174,12 @@ if (end() != null) { builder.append(" -> "); boolean hasSucc = false; - for (BlockBegin s : end().blockSuccessors()) { + for (Instruction s : end().blockSuccessors()) { if (hasSucc) { builder.append(", "); } builder.append("#"); - builder.append(s.blockID); + builder.append(s.id()); hasSucc = true; } }