private Alignment getAlignment(int regCategory) {
    Alignment alignment = Alignment.UNSPECIFIED;

    if (DexOptions.ALIGN_64BIT_REGS_SUPPORT && regCategory == 2) {
      if (isEven(paramRangeEnd)) {
        alignment = Alignment.EVEN;
      } else {
        alignment = Alignment.ODD;
      }
    }

    return alignment;
  }
Return the register alignment constraint to have 64-bits registers that will be align on even
dalvik registers after that parameter registers are move up to the top of the frame to match
the calling convention.

@param regCategory category of the register that will be aligned.
@return the register alignment constraint.
android/android_framework/dex-maker/src/main/java/com/android/dx/ssa/back/FirstFitLocalCombiningAllocator.java