@Override
	public int getDelaySlotDepth() {
		if (!proto.hasDelaySlots()) {
			return 0;
		}
		lock.acquire();
		try {
			return proto.getDelaySlotDepth(this);
		}
		finally {
			lock.release();
		}
	}
Get the instruction code unit length based upon its prototype and flags 
which will be used to check for a length-override condition.
@param proto instruction prototype
@param flags instruction flags
@return instruction code unit length
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/InstructionDB.java