docs: BasicBlockList toBasicBlocks() {
          if (!localsInitialized) {
              initializeLocals();
          }
  
          cleanUpLabels();
  
          BasicBlockList result = new BasicBlockList(labels.size());
          for (int i = 0; i < labels.size(); i++) {
              result.set(i, labels.get(i).toBasicBlock());
          }
          return result;
      }