public void EmulateDependentInstructions(ILInstruction instruction) { // TODO: Use data flow graph instead to determine order of instructions. var queue = instruction.GetAllDependencies() .OrderBy(x => x.Offset) .ToList(); foreach (var source in queue) { EmulateInstruction(source); } }