System.out.println("whilePredecessor = " + whilePredecessor);
// How many times do we unroll the loop?
// Look through the conditional, and find the jump back to the
// start of the block. It should be the only jump in the block.
IfStmt jumpStmt = null;
for (Iterator stmts = conditional.iterator(); stmts.hasNext();) {
Stmt stmt = (Stmt) stmts.next();
if (stmt instanceof IfStmt) {
IfStmt ifStmt = (IfStmt) stmt;
if (ifStmt.getTarget() == block.getHead()) {
if (jumpStmt == null) {
jumpStmt = ifStmt;
} else {
throw new RuntimeException(
"Two jumps in conditional!");