public static boolean isSameLanguageAndCompilerSpec(Program program1, Program program2) {
		Language language1 = program1.getLanguage();
		Language language2 = program2.getLanguage();
		if (language1.getLanguageID() != language2.getLanguageID()) {
			return false;
		}
		CompilerSpec compilerSpec1 = program1.getCompilerSpec();
		CompilerSpec compilerSpec2 = program2.getCompilerSpec();
		if (compilerSpec1.getCompilerSpecID() != compilerSpec2.getCompilerSpecID()) {
			return false;
		}
		return true;
	}
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