if (inst instanceof InstructionBranch) {
branchInstructions.add(iHandle);
}
- Iterator tIter = iHandle.getTargeters().iterator();
- while (tIter.hasNext()) {
-// InstructionTargeter[] targeters = iHandle.getTargetersArray();
-// if (targeters != null) {
-// for (int k = targeters.length - 1; k >= 0; k--) {
- InstructionTargeter targeter = (InstructionTargeter)tIter.next();//targeters[k];
+ InstructionTargeter[] targeters = iHandle.getTargetersArray();
+ if (targeters != null) {
+ for (int k = targeters.length - 1; k >= 0; k--) {
+ InstructionTargeter targeter = targeters[k];
if (targeter instanceof LineNumberTag) {
int line = ((LineNumberTag)targeter).getLineNumber();
if (line != currLine) {
} else {
p.end = iHandle;
}
-// }
+ }
}
}
}