private void advanceBlock() { for (int i = currentBlockIndex + 1; i <= cfg.getMaxNumber(); i++) { Iterator<? extends SSAInstruction> it = getBlockIterator(cfg.getNode(i)); if (it.hasNext()) { currentBlockIndex = i; currentBlockIterator = it; return; } } currentBlockIterator = null; currentBlockIndex = -1; } }
private void advanceBlock() { for (int i = currentBlockIndex + 1; i <= cfg.getMaxNumber(); i++) { Iterator<? extends SSAInstruction> it = getBlockIterator(cfg.getNode(i)); if (it.hasNext()) { currentBlockIndex = i; currentBlockIterator = it; return; } } currentBlockIterator = null; currentBlockIndex = -1; } }
private void advanceBlock() { for (int i = currentBlockIndex + 1; i < cfg.getMaxNumber(); i++) { if (hasCatch(cfg.getNode(i))) { currentBlockIndex = i; return; } } currentBlockIndex = -1; } }
private void advanceBlock() { for (int i = currentBlockIndex + 1; i < cfg.getMaxNumber(); i++) { if (hasCatch(cfg.getNode(i))) { currentBlockIndex = i; return; } } currentBlockIndex = -1; } }
result.append(cfg.toString()); result.append("Instructions:\n"); for (int i = 0; i <= cfg.getMaxNumber(); i++) { BasicBlock bb = cfg.getNode(i); int start = bb.getFirstInstructionIndex();
result.append(cfg.toString()); result.append("Instructions:\n"); for (int i = 0; i <= cfg.getMaxNumber(); i++) { BasicBlock bb = cfg.getNode(i); int start = bb.getFirstInstructionIndex();