public static string Generate(ExecutableInstruction[] instructions) { if (instructions.Any(x => x is DivergentExecutableInstruction)) return GenerateDivergent(instructions); return GenerateNonDivergent(instructions); }