Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/ir/BlockEnd.java @ 2781:bda5972a40a5
remove unnecessary BlockBegin nodes in frontend
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 24 May 2011 15:31:52 +0200 |
parents | 398b8fa5dc81 |
children | 915456e4959e |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/BlockEnd.java Tue May 24 13:55:56 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/BlockEnd.java Tue May 24 15:31:52 2011 +0200 @@ -59,7 +59,7 @@ public Instruction setBlockSuccessor(int index, Instruction n) { assert index >= 0 && index < blockSuccessorCount; - assert n == null || n instanceof BlockBegin : "only BlockBegins, for now... " + n.getClass(); +// assert n == null || n instanceof BlockBegin : "only BlockBegins, for now... " + n.getClass(); return (BlockBegin) successors().set(super.successorCount() + SUCCESSOR_COUNT + index, n); }