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;
  }
Releases the held lock on {@code monitor}.
android/android_framework/dex-maker/src/main/java/com/android/dx/Code.java