docs: void initializeLocals() {
          if (localsInitialized) {
              throw new AssertionError();
          }
          localsInitialized = true;
  
          int reg = 0;
          for (Local<?> local : locals) {
              reg += local.initialize(reg);
          }
          int firstParamReg = reg;
          List<Insn> moveParameterInstructions = new ArrayList<Insn>();
          for (Local<?> local : parameters) {
              CstInteger paramConstant = CstInteger.make(reg - firstParamReg);
              reg += local.initialize(reg);
              moveParameterInstructions.add(new PlainCstInsn(Rops.opMoveParam(local.type.ropType),
                      sourcePosition, local.spec(), RegisterSpecList.EMPTY, paramConstant));
          }
          labels.get(0).instructions.addAll(0, moveParameterInstructions);
      }