private int getRegistersSize() {
    return code.getInsns().getRegistersSize();
  }
Get the total registers count.

@return the count
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/file/CodeItem.java