/** * Adds a successor to {@link #currentBasicBlock} in the control flow graph. * * @param info information about the control flow edge to be added. * @param successor the successor block to be added to the current basic block. */ private void addSuccessorToCurrentBasicBlock(final int info, final Label successor) { currentBasicBlock.outgoingEdges = new Edge(info, successor, currentBasicBlock.outgoingEdges); }
/** * Adds a successor to the {@link #currentBlock currentBlock} ast. * * @param info information about the control flow edge to be added. * @param successor the successor ast to be added to the current ast. */ private void addSuccessor(final int info, final Label successor) { // creates and initializes an Edge object... Edge b = new Edge(); b.info = info; b.successor = successor; // ...and adds it to the successor list of the currentBlock ast b.next = currentBlock.successors; currentBlock.successors = b; }
/** * Adds a successor to the {@link #currentBlock currentBlock} block. * * @param info * information about the control flow edge to be added. * @param successor * the successor block to be added to the current block. */ private void addSuccessor(final int info, final Label successor) { // creates and initializes an Edge object... Edge b = new Edge(); b.info = info; b.successor = successor; // ...and adds it to the successor list of the currentBlock block b.next = currentBlock.successors; currentBlock.successors = b; }
&& basicBlock.subroutineId != subroutineCaller.subroutineId) { basicBlock.outgoingEdges = new Edge( basicBlock.outputStackSize,
int JSRstatus = JSRs[i].successors.next.successor.status; if (((JSRstatus & ~0xFFF) & (l.status & ~0xFFF)) != 0) { Edge e = new Edge(); e.info = l.inputStackTop; e.successor = JSRs[i].successors.successor;
Edge e = new Edge(); e.info = l.inputStackTop; e.successor = JSR.successors.successor;
while (handlerRangeBlock != handlerRangeEnd) { handlerRangeBlock.outgoingEdges = new Edge(catchType, handlerBlock, handlerRangeBlock.outgoingEdges); handlerRangeBlock = handlerRangeBlock.nextBasicBlock;