private void determineChanges(AddressSet possibleConflicts, TaskMonitor monitor) {
		monitor.setMessage("Determining reference changes.");
		CodeUnitIterator iter = resultPgm.getListing().getCodeUnits(possibleConflicts, true);
		while (iter.hasNext()) {
			CodeUnit resultCU = iter.next();
			int numOps = resultCU.getNumOperands();
			Address address = resultCU.getMinAddress();
			// Check each operand for ref conflicts.
			for (int opIndex = -1; opIndex < numOps; opIndex++) {
				processOperandRefs(address, opIndex);
			}
		}
	}
Merges the references from the same program that had its code units chosen
in the Code Unit merge phase.
@param monitor the task monitor for allowing cancel and showing progress.
@throws CancelledException if the user cancels the merge.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/listing/ReferenceMerger.java