/** * Return whether or not the Location is positioned at the first instruction * in the basic block. */ public boolean isFirstInstructionInBasicBlock() { return !basicBlock.isEmpty() && handle == basicBlock.getFirstInstruction(); }
/** * Return whether or not the Location is positioned at the last instruction * in the basic block. */ public boolean isLastInstructionInBasicBlock() { return !basicBlock.isEmpty() && handle == basicBlock.getLastInstruction(); }
public int pos() { if (isEmpty()) { return getExceptionThrower().getPosition(); } return firstInstruction.getPosition(); }
} else if (!basicBlock.isEmpty()) {
if (!basicBlock.isEmpty()) { throw new IllegalStateException("Block isn't empty!");
&& (target.isEmpty() || isGoto(target.getFirstInstruction().getInstruction())); if (!empty) { try {
/** * Return whether or not the Location is positioned at the first instruction * in the basic block. */ public boolean isFirstInstructionInBasicBlock() { return !basicBlock.isEmpty() && handle == basicBlock.getFirstInstruction(); }
/** * Return whether or not the Location is positioned at the last instruction * in the basic block. */ public boolean isLastInstructionInBasicBlock() { return !basicBlock.isEmpty() && handle == basicBlock.getLastInstruction(); }
public int pos() { if (isEmpty()) { return getExceptionThrower().getPosition(); } return firstInstruction.getPosition(); }
} else if (!basicBlock.isEmpty()) {
if (!basicBlock.isEmpty()) { throw new IllegalStateException("Block isn't empty!");
&& (target.isEmpty() || isGoto(target.getFirstInstruction().getInstruction())); if (!empty) { try {