private static int findUnprocessed(int startOffset, int endOffset, @NotNull InstructionClientVisitor<?> visitor) {
    for (int i = startOffset; i < endOffset; i++) {
      if (!visitor.processedInstructions[i]) {
        return i;
      }
    }
    return endOffset;
  }
private static int findUnprocessed(int startOffset, int endOffset, @NotNull InstructionClientVisitor<?> visitor)