code: public void clearBranchTargets(int pc) {
          Iterator<Integer> it = branchTargets.iterator();
          while (it.hasNext()) {
              int target = it.next().intValue();
              if (target <= pc) {
                  it.remove();
              }
          }
      }
docs: remove branch targets that have been passed
  
  @param pc the current pc