private void moveParametersToHighRegisters() {
    int paramWidth = ssaMeth.getParamWidth();
    BasicRegisterMapper mapper = new BasicRegisterMapper(ssaMeth.getRegCount());
    int regCount = ssaMeth.getRegCount();

    for (int i = 0; i < regCount; i++) {
      if (i < paramWidth) {
        mapper.addMapping(i, regCount - paramWidth + i, 1);
      } else {
        mapper.addMapping(i, i - paramWidth, 1);
      }
    }

    if (DEBUG) {
      System.out.printf("Moving %d registers from 0 to %d\n", paramWidth, regCount - paramWidth);
    }

    ssaMeth.mapRegisters(mapper);
  }
Moves the parameter registers, which allocateRegisters() places at the bottom of the frame, up
to the top of the frame to match Dalvik calling convention.
android/android_framework/dex-maker/src/main/java/com/android/dx/ssa/back/SsaToRop.java