Implemented function getFirstConflictingInstruction.