private JvmLocal genFreeLocal(String name, SimpleJitType type, VarDesc desc) {
		int i = nextLocal;
		if (type.javaType() == long.class || type.javaType() == double.class) {
			nextLocal += 2;
		}
		else {
			nextLocal += 1;
		}
		return new JvmLocal(i, name, type, desc.toVarnode());
	}
Reserve (allocate) one local for the given p-code variable

@param name the name of the JVM local
@param type the p-code type represented by the local
@param desc the variable's descriptor
@return the allocated JVM local
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/emu/jit/analysis/JitAllocationModel.java