private int getNormalRegCount() {
    return maxLocals + method.getMaxStack();
  }
Gets the total number of registers used for "normal" purposes (i.e., for the straightforward
translation from the original Java).

@return {@code >= 0;} the total number of registers used
android/android_framework/dex-maker/src/main/java/com/android/dx/cf/code/Ropper.java