private static boolean determineCustomStorageUse(Function destinationFunction,
			Function sourceFunction, boolean sameLanguage) {
		boolean useCustomStorage = sourceFunction.hasCustomVariableStorage();
		if (useCustomStorage) {
			return sameLanguage; // only use for same language.
		}
		return false;
	}
Determines whether or not the two programs are considered to have the same processor
language and compiler specification.
@param program1 the first program
@param program2 the second program
@return true if the two programs have the same processor language and compiler spec.
Ghidra/Features/Base/src/main/java/ghidra/program/util/FunctionUtility.java